Skip to content
Snippets Groups Projects
README.md 845 B
Newer Older
Ticki's avatar
Ticki committed
libterm
=======

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

Ticki's avatar
Ticki committed
Supports Redox and POSIX. Untested on Windows.

Ticki's avatar
Ticki committed
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.
Ticki's avatar
Ticki committed
- Redox support.
- 256-color mode.
- Panic-free error handling.
Ticki's avatar
Ticki committed
- Special keys events (modifiers, special keys, etc.).
- Asynchronous key events.
Ticki's avatar
Ticki committed

and much more.

TODO
----

- Mouse input
Ticki's avatar
Ticki committed

Usage
-----

See `examples/`.

License
-------

MIT.