From: Guus Sliepen Date: Sun, 29 May 2011 20:12:37 +0000 (+0200) Subject: Cosmetic fix when pressing 's' in tincctl top. X-Git-Tag: release-1.1pre1~32 X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=4c403840ffdeb2a2ff04c9b7780a407920b2b794 Cosmetic fix when pressing 's' in tincctl top. --- diff --git a/src/top.c b/src/top.c index 5207500d..f4e73038 100644 --- 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;