module

Tea::Screen

Screen provides screen manipulation functions

Class methods

clear

Clear the screen

Source
clear_line

Clear from cursor to end of line

Source
clear_line_all

Clear entire line

Source
clear_line_start

Clear from cursor to beginning of line

Source
disable_bracketed_paste

Disable bracketed paste

Source
disable_focus_reporting

Disable focus reporting

Source
disable_mouse

Disable mouse tracking

Source
enable_bracketed_paste

Enable bracketed paste

Source
enable_focus_reporting

Enable focus reporting

Source
enable_mouse

Enable mouse tracking

Source
enter_alt_screen

Enable alternate screen buffer

Source
exit_alt_screen

Disable alternate screen buffer

Source
hide_cursor

Hide cursor

Source
move_cursor(x : Int32, y : Int32)

Move cursor to position (1-indexed)

Source
request_cursor_position

Request cursor position (response will be a CursorPositionMsg)

Source
request_size

Request terminal size (response will be a WindowSizeMsg)

Source
request_window_title

Request window title

Source
reset

Reset terminal to default state

Source
restore_cursor

Restore cursor position

Source
save_cursor

Save cursor position

Source
set_window_title(title : String)

Set window title ameba:disable Naming/AccessorMethodName

Source
show_cursor

Show cursor

Source
size

Get terminal size

Source