summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorBenBE <BenBE@geshi.org>2021-02-01 09:02:36 +0100
committerGitHub <noreply@github.com>2021-02-01 09:02:36 +0100
commit06b5828dc4649bc23197712fe17b2d4e8d0adbbe (patch)
tree5ef8bb8b0cf9bcf0e02050da1bfcc68d8a42e475 /CRT.c
parent8bd543562b5b7495194e41a58162e7deb7bb41e3 (diff)
Fix Shift+Function key on Qt-based terminals
Fixes #508.
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/CRT.c b/CRT.c
index 70b62914..24a82be0 100644
--- a/CRT.c
+++ b/CRT.c
@@ -726,6 +726,10 @@ void CRT_init(const Settings* settings, bool allowUnicode) {
define_key("\033OQ", KEY_F(2));
define_key("\033OR", KEY_F(3));
define_key("\033OS", KEY_F(4));
+ define_key("\033O2P", KEY_F(13));
+ define_key("\033O2Q", KEY_F(14));
+ define_key("\033O2R", KEY_F(15));
+ define_key("\033O2S", KEY_F(16));
define_key("\033[11~", KEY_F(1));
define_key("\033[12~", KEY_F(2));
define_key("\033[13~", KEY_F(3));

© 2014-2024 Faster IT GmbH | imprint | privacy policy