diff options
| author | 2021-12-21 07:06:13 +0200 | |
|---|---|---|
| committer | 2021-12-21 07:07:58 +0200 | |
| commit | fecea5d7a74f97d41c50734349c80062ce2e9cb6 (patch) | |
| tree | 8c84ca5c9f27dd95038658c97f996e04a4862e00 /src/key.zig | |
| parent | bugfix (diff) | |
| download | es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.gz es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.xz es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.zip | |
zig fmt
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)}; |