skip to content
==> README.md <==
1# @ajax/tui-unicode-width
2
3Terminal column widths of characters and strings, exactly as Rust's unicode-width 0.2.2 (Unicode 17).
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-width 0.2.2, tables generated from its source.
12
13## Tests
14
15`tests/width.c`: the width of every code point hashes as the Rust's.
16
17## Licence
18
19MIT. See the repository's LICENSE.