curs_set

Function curs_set 

Source
pub fn curs_set(visibility: CURSOR_VISIBILITY) -> i32
Examples found in repository?
examples/hello.rs (line 7)
5fn main() {
6    initscr();
7    curs_set(CURSOR_VISIBILITY::CURSOR_INVISIBLE);
8
9    let w = newwin(20, 100, 1, 1);
10
11    waddstr(w, "Hello");
12    waddch(w, '\n' as u32);
13    waddstr(w, "World!");
14    wrefresh(w);
15
16    thread::sleep(time::Duration::from_millis(3000));
17
18    wclear(w);
19
20    waddstr(w, "Okay, bye now!");
21    wrefresh(w);
22
23    thread::sleep(time::Duration::from_millis(3000));
24
25    endwin();
26}