diff options
Diffstat (limited to 'src/key.zig')
| -rw-r--r-- | src/key.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/key.zig b/src/key.zig index 1a68ebb..3a007fb 100644 --- a/src/key.zig +++ b/src/key.zig | |||
| @@ -79,7 +79,7 @@ pub const Key = enum(u16) { | |||
| 79 | const key_int = @enumToInt(key); | 79 | const key_int = @enumToInt(key); |
| 80 | if (key_int < @enumToInt(Key.space)) { | 80 | if (key_int < @enumToInt(Key.space)) { |
| 81 | const ch = std.ascii.toLower(@intCast(u8, key_int + 0x40)); | 81 | const ch = std.ascii.toLower(@intCast(u8, key_int + 0x40)); |
| 82 | const buf = [_]u8{'C', '-', ch}; | 82 | const buf = [_]u8{ 'C', '-', ch }; |
| 83 | return std.fmt.formatBuf(&buf, options, writer); | 83 | return std.fmt.formatBuf(&buf, options, writer); |
| 84 | } else if (key_int < @enumToInt(Key.meta_nil)) { | 84 | } else if (key_int < @enumToInt(Key.meta_nil)) { |
| 85 | const buf = [_]u8{@intCast(u8, key_int)}; | 85 | const buf = [_]u8{@intCast(u8, key_int)}; |