Crate terminal

Source

Modules§

error

Structs§

KeyEvent
Represents a key event.
KeyModifiers
Represents key modifiers (shift, control, alt).
Terminal
A simple interface to perform operations on the terminal. It also allows terminal values to be queried.
TerminalLock
A mutable lock to the Terminal.

Enums§

Action
An action that can be performed on the terminal.
Attribute
Clear
Different ways to clear the terminal buffer.
Color
Represents an color.
Event
Represents an event.
KeyCode
Represents a key.
MouseButton
Represents a mouse button.
MouseEvent
Represents a mouse event.
Retrieved
A result that is returned from a request for a Value.
Value
A value that can be retrieved from the terminal.

Functions§

stderr
Creates a Stderr buffered Terminal.
stdout
Creates a Stdout buffered Terminal.