this repo has no description
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: map VK_OEM_102 to backslash

This is commonly the backslash key on internation keyboard layouts.

Also, log a warning when receiving events for unmapped virtual key codes.

authored by

CJ van den Berg and committed by
Tim Culverhouse
1346e353 fe3f3cc7

+6 -1
+6 -1
src/tty.zig
··· 469 469 0xc0 => '`', 470 470 0xdb => '[', 471 471 0xdc => '\\', 472 + 0xe2 => '\\', 472 473 0xdd => ']', 473 474 0xde => '\'', 474 - else => return null, 475 + else => { 476 + const log = std.log.scoped(.vaxis); 477 + log.warn("unknown wVirtualKeyCode: 0x{x}", .{event.wVirtualKeyCode}); 478 + return null; 479 + }, 475 480 }; 476 481 477 482 if (std.unicode.utf16IsHighSurrogate(base_layout)) {