summaryrefslogtreecommitdiffstats
path: root/CRT.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2024-03-13 15:14:43 +0100
committerBenBE <BenBE@geshi.org>2024-03-14 20:34:47 +0100
commit05c7d4fc204e8e6aa3e0e302833f187547ef18bc (patch)
tree2a7d69a1a5480f500072b1875caa2cbcdc793005 /CRT.c
parent53bd369be760aaeb5e28cb965e9edcfb3f232d92 (diff)
Ignore FOCUS_IN and FOCUS_OUT events if these have been activated within xterm
Closes: #1410
Diffstat (limited to 'CRT.c')
-rw-r--r--CRT.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/CRT.c b/CRT.c
index 6f748148..7912b203 100644
--- a/CRT.c
+++ b/CRT.c
@@ -1036,6 +1036,8 @@ IGNORE_WCASTQUAL_BEGIN
sequence[1] = c;
define_key(sequence, KEY_ALT('A' + (c - 'a')));
}
+ define_key("\033[I", KEY_FOCUS_IN);
+ define_key("\033[O", KEY_FOCUS_OUT);
#ifdef HTOP_NETBSD
IGNORE_WCASTQUAL_END
#undef define_key

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