Rust terminal drawing library
Find a file
Joscha fe424b3376 Fix grapheme rendering
Previously, when overwriting wide graphemes, those were not first
cleared from the buffer. This could sometimes result in partial
graphemes, which is an invalid buffer state.

Now, when a wide grapheme is overwritten, it is removed from the buffer
entirely and replaced with spaces. Those spaces retain the style of the
removed grapheme.

A similar thing now happens with graphemes that only partially overlap
the buffer, either on the left or the right border. Those parts that are
inside the buffer are rendered as spaces with the grapheme's style.
2022-05-29 13:18:25 +02:00
examples Fix grapheme rendering 2022-05-29 13:18:25 +02:00
src Fix grapheme rendering 2022-05-29 13:18:25 +02:00
.gitignore Create project 2022-05-21 00:15:53 +02:00
Cargo.toml Create simple terminal and buffer abstractions 2022-05-21 20:53:32 +02:00