mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
io/key: add support for the Tab and Space keys
Fixes gio#62 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -346,6 +346,10 @@ func convertKey(k rune) (string, bool) {
|
||||
n = "F11"
|
||||
case C.NSF12FunctionKey:
|
||||
n = "F12"
|
||||
case 0x09:
|
||||
n = key.NameTab
|
||||
case 0x20:
|
||||
n = "Space"
|
||||
default:
|
||||
return "", false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user