Skip to main content

write_cursor_style

Function write_cursor_style 

Source
pub fn write_cursor_style<W: Write>(w: &mut W, style: CursorStyle) -> Result<()>
Expand description

Set the cursor style with DECSCUSR, ESC [ <style> SP q.

The numeric parameter comes from CursorStyle: 0 for default, 1/2 block, 3/4 underline, and 5/6 bar.