renderer: default codepoints for preedit

This commit is contained in:
Mitchell Hashimoto
2023-12-03 20:28:28 -08:00
parent 56c6c096fa
commit 0fc6076ee5

View File

@ -39,7 +39,7 @@ pub const Mouse = struct {
/// The pre-edit state. See Surface.preeditCallback for more information.
pub const Preedit = struct {
/// The codepoints to render as preedit text.
codepoints: []Codepoint,
codepoints: []const Codepoint = &.{},
/// A single codepoint to render as preedit text.
pub const Codepoint = struct {