rustne-kretser / noline

IO-agnostic line editor for embedded systems
Mozilla Public License 2.0
96 stars 9 forks source link

Add support for grapheme clusters #11

Open eivindbergem opened 2 years ago

eivindbergem commented 2 years ago

Currently, noline makes the faulty assumption that one unicode symbol equals one character. The correct unit here is the grapheme cluster which occupies on column.

Support for grapheme clusters can be implemented using unicode-segmentation which happens to be #[no_std].