skip to content
==> README.md <==
1# @ajax/tui-grapheme
2
3Extended grapheme clusters (UAX #29, Unicode 17), the same boundaries as Rust's unicode-segmentation 1.13.
4
5Part 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.
8
9## Ported from
10
11[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.
12
13## Tests
14
15`tests/graphemes.c`: the boundaries of `tests/data/mixed.txt` (1768 clusters) hash as the Rust's.
16
17## Licence
18
19MIT. See the repository's LICENSE.