diff options
author | pdw <> | 2014-01-01 14:46:30 +0000 |
---|---|---|
committer | pdw <> | 2014-01-01 14:46:30 +0000 |
commit | 4e296cc7940237c658fc31914896ddef1d75f080 (patch) | |
tree | b9d499412a8ad683d7e43a89d2289b85823a3824 | |
parent | a5557a1bcf54049255ba04e0d600ea8ddf93fbaf (diff) | |
download | iftop-4e296cc7940237c658fc31914896ddef1d75f080.zip |
Patch to remove blinking cursor (unclear what platforms this affects)
Gerrit Renker <renker@ualberta.ca>
-rw-r--r-- | ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |