projects
/
oweals
/
tinc.git
/ 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 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;