Expand description
Sl-console is a pure Rust, bindless library for low-level handling, manipulating and reading information about terminals. This is a fork of termion.
Sl-console aims to be simple and yet expressive. It is bindless, meaning that it is not a front-end to some other library (e.g., ncurses or termbox), but a standalone library directly talking to the TTY.
Supports Mac OS X, Linux, and Windows (or, in general, ANSI terminals).
For more information refer to the README.
Re-exports§
pub use console::con_init;
pub use console::conin;
pub use console::conout;
pub use console::ConsoleRead;
pub use console::ConsoleWrite;
pub use input::ConsoleReadExt;
pub use raw::RawModeExt;
Modules§
- Clearing the screen.
- Color managemement.
- Support access to the console.
- Cursor movement.
- Mouse and key events.
- User input
- Managing raw mode.
- Managing switching between main and alternate screen buffers.
- Scrolling.
- Text styling management.
Functions§
- Is this stream a TTY?
- Get the size of the terminal.
- Get the size of the terminal, in pixels