mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-10-03 17:47:49 +03:00
Fix #7321
This commit is contained in:
parent
bf60321466
commit
b46d1d8d21
File diff suppressed because one or more lines are too long
@ -181,11 +181,14 @@ def encode_keystring(keybytes: bytes) -> str:
|
||||
'kbs': r'\177',
|
||||
# Mouse event has occurred
|
||||
'kmous': r'\E[M',
|
||||
|
||||
# These break mouse events in htop so they are disabled
|
||||
# Turn on mouse reporting
|
||||
'XM': '\E[?1006;1004;1000%?%p1%{1}%=%th%el%;',
|
||||
# 'XM': '\E[?1006;1004;1000%?%p1%{1}%=%th%el%;',
|
||||
# Expected format for mouse reporting escape codes
|
||||
'xm': r'\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;',
|
||||
# 'xm': r'\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;',
|
||||
# Scroll backwards (reverse index)
|
||||
|
||||
'kri': r'\E[1;2A',
|
||||
# scroll forwards (index)
|
||||
'kind': r'\E[1;2B',
|
||||
|
2
terminfo/kitty.terminfo
generated
2
terminfo/kitty.terminfo
generated
@ -30,7 +30,6 @@ xterm-kitty|KovIdTTY,
|
||||
Smulx=\E[4:%p1%dm,
|
||||
Ss=\E[%p1%d\sq,
|
||||
Sync=\EP=%p1%ds\E\\,
|
||||
XM=\E[?1006;1004;1000%?%p1%{1}%=%th%el%;,
|
||||
XR=\E[>0q,
|
||||
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G,
|
||||
@ -268,4 +267,3 @@ xterm-kitty|KovIdTTY,
|
||||
u8=\E[?%[;0123456789]c,
|
||||
u9=\E[c,
|
||||
vpa=\E[%i%p1%dd,
|
||||
xm=\E[<%i%p3%d;%p1%d;%p2%d;%?%p4%tM%em%;,
|
||||
|
BIN
terminfo/x/xterm-kitty
generated
BIN
terminfo/x/xterm-kitty
generated
Binary file not shown.
Loading…
Reference in New Issue
Block a user