Merge pull request #1118 from mitchellh/gtk-tab

input: translate '\t' to Key.tab
This commit is contained in:
Mitchell Hashimoto
2023-12-17 20:16:27 -08:00
committed by GitHub

View File

@ -697,6 +697,9 @@ pub const Key = enum(c_int) {
.{ ']', .right_bracket },
.{ '\\', .backslash },
// Control characters
.{ '\t', .tab },
// Keypad entries. We just assume keypad with the kp_ prefix
// so that has some special meaning. These must also always be last.
.{ '0', .kp_0 },