Cosmetic fix when pressing 's' in tincctl top.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 29 May 2011 20:12:37 +0000 (22:12 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 29 May 2011 20:12:37 +0000 (22:12 +0200)
src/top.c

index 5207500..f4e7303 100644 (file)
--- a/src/top.c
+++ b/src/top.c
@@ -237,7 +237,7 @@ void top(int fd) {
                        case 's': {
                                timeout(-1);
                                float input = delay * 1e-3;
-                               printw("Change delay from %.1fs to: ", input);
+                               mvprintw(1, 0, "Change delay from %.1fs to: ", input);
                                scanw("%f", &input);
                                if(input < 0.1)
                                        input = 0.1;