core, renderer: handle wide preedit chars

Fixes #855
This commit is contained in:
Mitchell Hashimoto
2023-11-10 17:26:36 -08:00
parent a8614815d6
commit ce4541dd61
3 changed files with 34 additions and 10 deletions

View File

@@ -34,4 +34,7 @@ pub const Preedit = struct {
/// This can also be "0" in which case we can know we're in a preedit
/// mode but we don't have any preedit text to render.
codepoint: u21 = 0,
/// True if the preedit text should be rendered "wide" (two cells)
wide: bool = false,
};