kitty kbd: progressive enhancement `=` mode off by one

Fixes #2161
pull/2187/head
Mitchell Hashimoto 2024-09-03 11:57:52 -07:00
parent 12efa8ec24
commit e014c68cf0
No known key found for this signature in database
GPG Key ID: 523D5DC389D273BC
1 changed files with 3 additions and 3 deletions

View File

@ -1226,9 +1226,9 @@ pub fn Stream(comptime Handler: type) type {
1;
const mode: kitty.KeySetMode = switch (number) {
0 => .set,
1 => .@"or",
2 => .not,
1 => .set,
2 => .@"or",
3 => .not,
else => {
log.warn("invalid setKittyKeyboard command: {}", .{input});
break :set;