Crate tty_interface

Source
Expand description

§tty-interface

Provides simple TTY-based user interface capabilities including partial re-renders of multi-line displays.

Modules§

test

Macros§

pos
Create a new, immutable position (column, line);

Structs§

Interface
A TTY-based user-interface providing optimized update rendering.
Position
A coordinate position in the terminal. May be absolute or relative to some buffer’s origin.
Style
Text formatting styles.
Vector
A directional vector with no positional information.

Enums§

Color
Colors to be used for foreground and background text formatting.
Error
A failed interface operation’s error information.

Traits§

Device
An output device to be controlled for displaying an interface.

Type Aliases§

Result
An interface operation’s result containing either a successful value or error.