wijjit.terminal.ansi.ANSICursor
- class wijjit.terminal.ansi.ANSICursor[source]
ANSI cursor control codes.
- __init__()
Methods
__init__()back([n])Move cursor back n columns.
bell()Emit terminal bell sound.
down([n])Move cursor down n lines.
forward([n])Move cursor forward n columns.
hide()Hide the cursor.
position(row, col)Move cursor to specific position.
Restore saved cursor position.
Save current cursor position.
show()Show the cursor.
up([n])Move cursor up n lines.
- static save_position()[source]
Save current cursor position.
- Returns:
ANSI escape sequence
- Return type: