Last active
October 21, 2022 15:24
-
-
Save deadpixi/181edf37c3fa9b76c257000ab7e661b9 to your computer and use it in GitHub Desktop.
A minimal set of input key sequences that covers a wide variety of terminals...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'kcub1': {'\\E[217z', '\\EOD', '\\E[D', '\\ED'}, | |
'kcud1': {'\\EB', '\\E[221z', '\\E[B', '\\EOB'}, | |
'kcuf1': {'\\EC', '\\E[219z', '\\EOC', '\\E[C'}, | |
'kcuu1': {'\\EOA', '\\E[A', '\\E[215z', '\\EA'}, | |
'kend': {'\\EF', | |
'\\EOF', | |
'\\E[146q', | |
'\\E[220z', | |
'\\E[4~', | |
'\\E[8~', | |
'\\E[F', | |
'\\E[OF', | |
'\\Ek'}, | |
'kf1': {'\\E1', | |
'\\EOP', | |
'\\E[001q', | |
'\\E[11~', | |
'\\E[224z', | |
'\\E[M', | |
'\\E[[A', | |
'\\Ep'}, | |
'kf10': {'\\E[21~', '\\E[V', '\\E[010q', '\\E[233z', '\\EOY', '\\E0'}, | |
'kf11': {'\\E!', | |
'\\EOZ', | |
'\\E[011q', | |
'\\E[192z', | |
'\\E[234z', | |
'\\E[23~', | |
'\\E[W'}, | |
'kf2': {'\\E2', | |
'\\EOQ', | |
'\\E[002q', | |
'\\E[12~', | |
'\\E[225z', | |
'\\E[N', | |
'\\E[[B', | |
'\\Eq'}, | |
'kf3': {'\\E3', | |
'\\EOR', | |
'\\E[003q', | |
'\\E[13~', | |
'\\E[226z', | |
'\\E[O', | |
'\\E[[C', | |
'\\Er'}, | |
'kf4': {'\\E4', | |
'\\EOS', | |
'\\E[004q', | |
'\\E[14~', | |
'\\E[227z', | |
'\\E[P', | |
'\\E[[D', | |
'\\Es'}, | |
'kf5': {'\\E5', | |
'\\EOT', | |
'\\E[005q', | |
'\\E[15~', | |
'\\E[228z', | |
'\\E[Q', | |
'\\E[[E', | |
'\\Et'}, | |
'kf6': {'\\EOU', '\\E[006q', '\\E[229z', '\\E6', '\\E[17~', '\\E[R', '\\Eu'}, | |
'kf7': {'\\E[18~', '\\E[007q', '\\E7', '\\EOV', '\\E[S', '\\Ev', '\\E[230z'}, | |
'kf8': {'\\EOW', '\\E8', '\\E[19~', '\\E[231z', '\\E[008q', '\\Ew', '\\E[T'}, | |
'kf9': {'\\E[20~', '\\E[232z', '\\E[009q', '\\E9', '\\E[U', '\\EOX'}, | |
'khome': {'\\E[7~', '\\EOH', '\\E[214z', '\\E[OH', '\\E[H', '\\E[1~', '\\Eh'}, | |
'knp': {'\\E[6~', '\\E[154q', '\\E/', '\\E[G', '\\ES', '\\E[222z'}, | |
'kpp': {'\\E[5~', '\\E[216z', '\\E?', '\\ET', '\\E[150q', '\\E[I'}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment