1# @ajax/tui-arena
23A bump allocator for one frame of a terminal UI: allocate freely, free everything at once.
45Part of the C port of [alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh)'s `mesh-top`, a
6terminal UI built with ratatui: these packages reproduce what ratatui and its Unicode crates compute,
7so a frame drawn in C is the same, cell for cell, as the Rust one.
89## Ported from
1011[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT)'s `mesh-top` uses it through ratatui; the C follows ratatui allocates per frame with Rust's ownership; this is the C port's equivalent (no Rust counterpart).
1213## Tests
1415`tests/arena.c`: allocation, growth, formatting, reset.
1617## Licence
1819MIT. See the repository's LICENSE.