refactor: add tui.enable_match_events and tui.disable_match_events
This commit is contained in:
parent
fccab59a36
commit
33f404b22d
1 changed files with 8 additions and 0 deletions
|
|
@ -2357,3 +2357,11 @@ pub fn set_last_palette(type_: PaletteType, ctx: command.Context) void {
|
||||||
.ctx = .{ .args = ctx.args.clone(self.allocator) catch return },
|
.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;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue