refactor: add tui.enable_match_events and tui.disable_match_events

This commit is contained in:
CJ van den Berg 2025-12-10 14:35:12 +01:00
parent fccab59a36
commit 33f404b22d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -2357,3 +2357,11 @@ pub fn set_last_palette(type_: PaletteType, ctx: command.Context) void {
.ctx = .{ .args = ctx.args.clone(self.allocator) catch return },
};
}
pub fn enable_match_events() void {
keybind.enable_match_events = true;
}
pub fn disable_match_events() void {
keybind.enable_match_events = false;
}