1# @ajax/tui-grapheme
23Extended grapheme clusters (UAX #29, Unicode 17), the same boundaries as Rust's unicode-segmentation 1.13.
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` depends on it through ratatui: unicode-segmentation 1.13.3 (extended grapheme clusters, UAX #29 with the InCB conjunct rule), tables generated from its source.
1213## Tests
1415`tests/graphemes.c`: the boundaries of `tests/data/mixed.txt` (1768 clusters) hash as the Rust's.
1617## Licence
1819MIT. See the repository's LICENSE.