[lib] cursebox, a cell-grid TTY UI library

Cursebox is a TTY UI library which presents the TTY as a grid of cells which you can modify as you wish. It also has a Printer interface which implements core::fmt::Write.

Unlike other Rust TTY UI libraries i have seen, it neither depends on libstd nor aborts on failure to allocate. I wrote it for situations where such behavior is unacceptable.

I am also wary of code size, so i hope this might be useful on embedded. I’m not sure how to measure the effective size of a Rust library, as it contains IR, but i’ve been measuring the size of programs using it — data points from your use cases are welcome!

1 Like