[][src]Function ncursesw::curs_set

pub fn curs_set(cursor: CursorType) -> Result<CursorType, NCurseswError>

Set the cursor state. visibility can be set to invisible, normal, or very visible. If the terminal supports the visibility requested, return the previous cursor state; otherwise raise an exception. On many terminals, the “visible” mode is an underline cursor and the “very visible” mode is a block cursor.