diff options
| author | Silvan Jegen <s.jegen@gmail.com> | 2021-04-10 13:40:51 +0200 |
|---|---|---|
| committer | Randy Palamar <palamar@ualberta.ca> | 2023-08-14 08:39:56 -0600 |
| commit | 8ae019ffc34b98bcd8546598de6037addaa29a4f (patch) | |
| tree | cfdc1271f0bc099dda562ea14d0dcdd5eef4980c /vis-lua.c | |
| parent | adc803f24eec316dd6caf05f6a839ec08c325a38 (diff) | |
| download | vis-8ae019ffc34b98bcd8546598de6037addaa29a4f.tar.gz vis-8ae019ffc34b98bcd8546598de6037addaa29a4f.tar.xz | |
vis-menu: try to preserve valid Unicode points
Before we were not taking non-ascii characters into account properly. With
this patch we still mix byte counts and "grapheme cluster" (i.e. complete
glyphs that are rendered in a terminal cell) counts but the code should
be less broken in the more common case now.
Diffstat (limited to 'vis-lua.c')
0 files changed, 0 insertions, 0 deletions
