Go to file
Ticki 62940e52f0 Add clear_before, clear_after and clear_until_newline 2016-03-08 20:10:13 +01:00
examples Rename Mode to Style 2016-03-08 18:38:07 +01:00
src Add clear_before, clear_after and clear_until_newline 2016-03-08 20:10:13 +01:00
.gitignore Add README 2016-03-06 14:55:01 +01:00
Cargo.toml Use libc from crates.io 2016-03-08 11:15:41 +01:00
LICENSE Add license 2016-03-08 09:30:24 +01:00
README.md Add a note on stability 2016-03-08 19:44:31 +01:00

README.md

libterm

A pure Rust library for handling, manipulating and reading information about terminals. This provides a full-featured alternative to Termbox.

Supports Redox and POSIX. Untested on Windows.

A note on stability

This crate is not stable, yet. However, if you do want stability, you should specify the revision (commit hash) in your Cargo.toml, this way builds are complete reproducible, and won't break.

Features

  • Raw mode.
  • Cursor movement.
  • Color output.
  • Text formatting.
  • Console size.
  • Control sequences.
  • Termios control.
  • Password input.
  • Redox support.
  • 256-color mode.
  • Panic-free error handling.

and much more.

TODO

  • Mouse input

Usage

See examples/.

License

MIT.