summaryrefslogtreecommitdiff
path: root/ui.c
diff options
context:
space:
mode:
authorpdw <>2014-01-01 14:46:30 +0000
committerpdw <>2014-01-01 14:46:30 +0000
commit4e296cc7940237c658fc31914896ddef1d75f080 (patch)
treeb9d499412a8ad683d7e43a89d2289b85823a3824 /ui.c
parenta5557a1bcf54049255ba04e0d600ea8ddf93fbaf (diff)
downloadiftop-4e296cc7940237c658fc31914896ddef1d75f080.zip
Patch to remove blinking cursor (unclear what platforms this affects)
Gerrit Renker <renker@ualberta.ca>
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 849006e..705f9a0 100644
--- a/ui.c
+++ b/ui.c
@@ -432,6 +432,7 @@ void ui_curses_init() {
(void) nonl(); /* tell curses not to do NL->CR/NL on output */
(void) cbreak(); /* take input chars one at a time, no wait for \n */
(void) noecho(); /* don't echo input */
+ (void) curs_set(0); /* hide blinking cursor in ui */
halfdelay(2);
}