2 releases
0.1.1 | Jul 18, 2021 |
---|---|
0.1.0 | Jul 18, 2021 |
#53 in #width
8KB
129 lines
unistring
A few helper functions for manipulating unicode strings in a terminal/monospace font environment. This provides a trait on str to get a string's terminal width, and a couple of basic line-wrapping helpers.
Currently uses the GNU libunistring library (although I suspect it's feasible to rewrite into pure rust, and I may attempt that at some point)
Dependencies
~0–1.9MB
~36K SLoC