Expand description
Functionality to assist with managing the terminal/console/tty.
Structs§
- Termios
- Opaque wrapper around
libc::termios
.
Enums§
Functions§
- enable_
vt_ and_ utf8 - Enables VT and UTF-8 output. No-op on non-Windows platforms.
- get_
termios - Get the current termios settings for stderr.
- raw_
stderr - Returns a non-buffering stderr, with no special console handling on Windows.
- raw_
stdout - Returns a non-buffering stdout, with no special console handling on Windows.
- revert_
terminal_ on_ panic - Sets a panic handler to restore the terminal state when the process panics.
- set_
console_ title - Sets the name of the console window.
- set_
raw_ console - Enables or disables raw console mode.
- set_
termios - Set the termios settings for stderr.