Crate sl_console

Source
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§

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§