Module terminal.cursor.shape
Terminal cursor shape module.
Provides utilities for cursor shape handling in terminals.
Functions
set (shape) | Sets the cursor shape and writes it to the terminal. |
Sequences
set_seq (shape) | Returns the ansi sequence for a cursor shape without writing it to the terminal. |
Functions
- set (shape)
-
Sets the cursor shape and writes it to the terminal.
Parameters:
- shape
string
the shape to set, one of the keys
"block"
,"block_blink"
,"underline"
,"underline_blink"
,"bar"
,"bar_blink"
Returns:
-
true
- shape
string
the shape to set, one of the keys