mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +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:
@@ -402,6 +402,10 @@ func x11SpecialKeySymToRune(s C.KeySym) (string, bool) {
|
||||
n = "F11"
|
||||
case C.XK_F12:
|
||||
n = "F12"
|
||||
case C.XK_Tab:
|
||||
n = key.NameTab
|
||||
case 0x20, C.XK_KP_Space:
|
||||
n = "Space"
|
||||
default:
|
||||
return "", false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user