Cosmetic fix when pressing 's' in tincctl top.

This commit is contained in:
Guus Sliepen 2011-05-29 22:12:37 +02:00
parent b3aeaf0f91
commit 4c403840ff

View file

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