mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Hide the cursor
This commit is contained in:
parent
ec7b76c564
commit
4ebb422611
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user