Crate raw_terminal

Source

Functions§

get_terminal_dimensions
Get the size of the current terminal in pixels Ok((x,y)) if success
hide_cursor
must used after set mode true to hide the cursor,false to show the cursor
reset
must used after set mode clean the terminal
set_mode
Determines the terminal’s handling of input characters enable is default disable is no characters are displayed and standard input is not processed