fix: don't log keybind hints message for modifier key events
This commit is contained in:
parent
49acb2c3d5
commit
8dc6f9823d
1 changed files with 7 additions and 0 deletions
|
|
@ -785,6 +785,13 @@ const BindingSet = struct {
|
|||
}
|
||||
|
||||
fn log_keyhints_message() void {
|
||||
for (globals.current_sequence.items) |item| switch (item.key) {
|
||||
input.key.left_control, input.key.right_control => return,
|
||||
input.key.left_alt, input.key.right_alt => return,
|
||||
input.key.left_shift, input.key.right_shift => return,
|
||||
else => {},
|
||||
};
|
||||
|
||||
const logger = log.logger("keybind");
|
||||
defer logger.deinit();
|
||||
logger.print("C-? for key hints", .{});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue