Skip to main content

Crate simple_term_attr

Crate simple_term_attr 

Source

Structs§

TerminalAttribute
type to display terminal attributes

Enums§

LogLevel

Traits§

StyleAttributes
different terminal attributes

Functions§

clear_line
clear current line
clear_screen
clear screen and move cursor to top
get_terminal_size
get the current terminal size.returns a tuple of ws_row and ws_col
hide_cursor
hide the terminal cursor
move_cursor
move cursor to row,col;
move_cursor_down
move cursor x line down
move_cursor_up
move cursor x line up
restore_cursor_pos
restore cursor position
save_cursor_pos
save current cursor position
set_scrollable_region
show_cursor
show the terminal cursor