apprt/embedded: proper consumed modifier state for ctrl keys

This commit is contained in:
Mitchell Hashimoto
2025-02-13 14:45:31 -08:00
parent 9978ea3b9c
commit b44b1086d3
4 changed files with 32 additions and 42 deletions

View File

@@ -6,8 +6,9 @@ const Mods = @import("key.zig").Mods;
pub const State = struct {};
pub const Translation = struct {
text: []const u8,
composing: bool,
text: []const u8 = "",
composing: bool = false,
mods: Mods = .{},
};
pub fn init() !KeymapNoop {