Crates.io | unistring |
lib.rs | unistring |
version | 0.1.1 |
source | src |
created_at | 2021-07-18 04:15:49.70148 |
updated_at | 2021-07-18 18:10:30.090954 |
description | Helper functions for unicode in a terminal/monospace environment |
homepage | |
repository | https://github.com/retupmoca/unistring-rs |
max_upload_size | |
id | 424282 |
size | 23,197 |
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)