projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3aeaf0
)
Cosmetic fix when pressing 's' in tincctl top.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 29 May 2011 20:12:37 +0000
(22:12 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 29 May 2011 20:12:37 +0000
(22:12 +0200)
src/top.c
patch
|
blob
|
history
diff --git
a/src/top.c
b/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;