Add missing alt+ variant for F13-F16

This commit is contained in:
Raphael 'kena' Poss 2022-08-19 14:35:16 +02:00 committed by Christian Muehlhaeuser
parent 290ef8dce5
commit ce923aabbf
1 changed files with 4 additions and 0 deletions

4
key.go
View File

@ -483,6 +483,10 @@ var sequences = map[string]Key{
"\x1b[21;3~": {Type: KeyF10, Alt: true}, "\x1b[21;3~": {Type: KeyF10, Alt: true},
"\x1b[23;3~": {Type: KeyF11, Alt: true}, "\x1b[23;3~": {Type: KeyF11, Alt: true},
"\x1b[24;3~": {Type: KeyF12, Alt: true}, "\x1b[24;3~": {Type: KeyF12, Alt: true},
"\x1b[25;3~": {Type: KeyF13, Alt: true},
"\x1b[26;3~": {Type: KeyF14, Alt: true},
"\x1b[28;3~": {Type: KeyF15, Alt: true},
"\x1b[29;3~": {Type: KeyF16, Alt: true},
// Function keys, urxvt // Function keys, urxvt
"\x1b[11~": {Type: KeyF1}, "\x1b[11~": {Type: KeyF1},