]> git.meshlink.io Git - meshlink/commitdiff
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 5207500d0c69d8a670d54c7510d160cc80c0d42e..f4e73038c44ae884f191beadbe500a866cdec7a5 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;