refactor: render event type in keybindview
This commit is contained in:
parent
ba8148a5c8
commit
fe03d0dab4
2 changed files with 44 additions and 11 deletions
|
|
@ -95,7 +95,7 @@ fn keybind_match(self: *Self, _: tp.pid_ref, m: tp.message) MessageFilter.Error!
|
|||
defer result.deinit();
|
||||
const writer = &result.writer;
|
||||
|
||||
writer.print("{s}:{s} {s} -> ", .{ namespace, section, key_event }) catch return true;
|
||||
writer.print("{s}:{s} {s} => ", .{ namespace, section, key_event }) catch return true;
|
||||
cbor.toJsonWriter(cmds, writer, .{}) catch return true;
|
||||
|
||||
const ts = time.microTimestamp();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue