Skip to content

Commit b46d1d8

Browse files
committed
Fix #7321
1 parent bf60321 commit b46d1d8

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

kitty/terminfo.h

+2-2
Large diffs are not rendered by default.

kitty/terminfo.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,14 @@ def encode_keystring(keybytes: bytes) -> str:
181181
'kbs': r'\177',
182182
# Mouse event has occurred
183183
'kmous': r'\E[M',
184+
185+
# These break mouse events in htop so they are disabled
184186
# Turn on mouse reporting
185-
'XM': '\E[?1006;1004;1000%?%p1%{1}%=%th%el%;',
187+
# 'XM': '\E[?1006;1004;1000%?%p1%{1}%=%th%el%;',
186188
# Expected format for mouse reporting escape codes
187-
'xm': r'\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;',
189+
# 'xm': r'\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;',
188190
# Scroll backwards (reverse index)
191+
189192
'kri': r'\E[1;2A',
190193
# scroll forwards (index)
191194
'kind': r'\E[1;2B',

terminfo/kitty.terminfo

-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terminfo/x/xterm-kitty

-88 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)