14 releases
Uses old Rust 2015
0.2.11 | Jul 10, 2021 |
---|---|
0.2.10 | Jan 4, 2021 |
0.2.9 | Jul 11, 2020 |
0.2.8 | Dec 2, 2018 |
0.1.1 | May 20, 2016 |
#585 in Command-line interface
Used in curse
39KB
821 lines
cursebox
A cell-grid TTY UI library
Goals:
- Simple API
- Minimal dynamic allocation
- Little code size
Evolved from termbox
Note:
So far (as of rust 1.28), you must use nightly.
Building on stable is a goal — we are waiting for const_fn
and untagged_unions
.
lib.rs
:
Start with UI
.
See too examples.
Usual use of the library each frame/iteration is to clear
the screen, draw, and then present
.
You can check events before or after.
Dependencies
~5MB
~106K SLoC