Module phetch::terminal

source ·
Expand description

The terminal module mostly provides terminal escape sequences for things like clearing the screen or going into alternate mode, as well as raw mode borrowed from crossterm.

Structs

Clear everything after the cursor.
Clear the entire screen.
Clear the current line.
Clear from cursor to newline.
Goto some position ((1,1)-based).
Hide the cursor.
Show the cursor.
Switch to the alternate screen buffer of the terminal.
Switch to the main screen buffer of the terminal.

Functions

Back it up.
Go into “raw” mode, courtesy of crossterm.
Are we in raw mode?