Hide the cursor

This commit is contained in:
Alexandre Bury 2015-05-14 18:41:13 -07:00
parent ec7b76c564
commit 4ebb422611

View File

@ -42,6 +42,7 @@ impl Cursive {
ncurses::initscr(); ncurses::initscr();
ncurses::keypad(ncurses::stdscr, true); ncurses::keypad(ncurses::stdscr, true);
ncurses::noecho(); ncurses::noecho();
ncurses::curs_set(ncurses::CURSOR_VISIBILITY::CURSOR_INVISIBLE);
let mut res = Cursive { let mut res = Cursive {
screens: Vec::new(), screens: Vec::new(),