diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-06-03 08:43:08 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-06-03 08:43:08 +0200 |
commit | aee14688f0de1f923a983fe25b2d7682aa728726 (patch) | |
tree | 84c4c95dd49879042956370e0a5218197cb04aed | |
parent | 4cc116821b79501cddc6e9f640f7b6fe015f31d4 (diff) | |
download | tcvt-aee14688f0de1f923a983fe25b2d7682aa728726.tar.gz |
add mappings for Fn keys
We don't gain anything here, because the emulated terminal does not
support these keys. Should we switch the emulated terminal, this
immediately helps.
-rwxr-xr-x | tcvt.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -520,6 +520,15 @@ symbolic_keymapping = { curses.KEY_BACKSPACE: "kbs", curses.KEY_PPAGE: "kpp", curses.KEY_NPAGE: "knp", + curses.KEY_F1: "kf1", + curses.KEY_F2: "kf2", + curses.KEY_F3: "kf3", + curses.KEY_F4: "kf4", + curses.KEY_F5: "kf5", + curses.KEY_F6: "kf6", + curses.KEY_F7: "kf7", + curses.KEY_F8: "kf8", + curses.KEY_F9: "kf9", } if sys.version_info[0] == 3: |