From 4ebb42261166bf4959b7cd14f3de22892e66dbf9 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Thu, 14 May 2015 18:41:13 -0700 Subject: [PATCH] Hide the cursor --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index ade5a2b..5f43487 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,6 +42,7 @@ impl Cursive { ncurses::initscr(); ncurses::keypad(ncurses::stdscr, true); ncurses::noecho(); + ncurses::curs_set(ncurses::CURSOR_VISIBILITY::CURSOR_INVISIBLE); let mut res = Cursive { screens: Vec::new(),