Add missing alt+ variant for F5-F12 on urxvt

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

8
key.go
View File

@ -503,6 +503,14 @@ var sequences = map[string]Key{
"\x1b\x1b[12~": {Type: KeyF2, Alt: true}, "\x1b\x1b[12~": {Type: KeyF2, Alt: true},
"\x1b\x1b[13~": {Type: KeyF3, Alt: true}, "\x1b\x1b[13~": {Type: KeyF3, Alt: true},
"\x1b\x1b[14~": {Type: KeyF4, Alt: true}, "\x1b\x1b[14~": {Type: KeyF4, Alt: true},
"\x1b\x1b[15~": {Type: KeyF5, Alt: true},
"\x1b\x1b[17~": {Type: KeyF6, Alt: true},
"\x1b\x1b[18~": {Type: KeyF7, Alt: true},
"\x1b\x1b[19~": {Type: KeyF8, Alt: true},
"\x1b\x1b[20~": {Type: KeyF9, Alt: true},
"\x1b\x1b[21~": {Type: KeyF10, Alt: true},
"\x1b\x1b[23~": {Type: KeyF11, Alt: true},
"\x1b\x1b[24~": {Type: KeyF12, Alt: true},
"\x1b\x1b[25~": {Type: KeyF13, Alt: true}, "\x1b\x1b[25~": {Type: KeyF13, Alt: true},
"\x1b\x1b[26~": {Type: KeyF14, Alt: true}, "\x1b\x1b[26~": {Type: KeyF14, Alt: true},
"\x1b\x1b[28~": {Type: KeyF15, Alt: true}, "\x1b\x1b[28~": {Type: KeyF15, Alt: true},