This commit is contained in:
Kovid Goyal 2020-04-19 07:21:10 +05:30
commit bdd68284b5
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 8 additions and 0 deletions

View file

@ -198,6 +198,8 @@ def encode_keystring(keybytes: bytes) -> str:
'rmso': r'\E[27m',
# Exit underline mode
'rmul': r'\E[24m',
# Exit strikethrough mode
'rmxx': r'\E[29m',
# Reset string1 (empty OSC sequence to exit OSC/OTH modes, and regular reset)
'rs1': r'\E]\E\\\Ec',
# Save cursor
@ -224,6 +226,8 @@ def encode_keystring(keybytes: bytes) -> str:
'smso': r'\E[7m',
# Enter underline mode
'smul': r'\E[4m',
# Enter strikethrough mode
'smxx': r'\E[9m',
# Clear all tab stops
'tbc': r'\E[3g',
# To status line (used to set window titles)
@ -351,6 +355,7 @@ def encode_keystring(keybytes: bytes) -> str:
'ei': 'rmir',
'se': 'rmso',
'ue': 'rmul',
'Te': 'rmxx',
'r1': 'rs1',
'sc': 'sc',
'AB': 'setab',
@ -363,6 +368,7 @@ def encode_keystring(keybytes: bytes) -> str:
'im': 'smir',
'so': 'smso',
'us': 'smul',
'Ts': 'smxx',
'ct': 'tbc',
'cv': 'vpa',
'ZH': 'sitm',

View file

@ -215,6 +215,7 @@ xterm-kitty|KovIdTTY,
rmkx=\E[?1l,
rmso=\E[27m,
rmul=\E[24m,
rmxx=\E[29m,
rs1=\E]\E\\\Ec,
sc=\E7,
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
@ -231,6 +232,7 @@ xterm-kitty|KovIdTTY,
smkx=\E[?1h,
smso=\E[7m,
smul=\E[4m,
smxx=\E[9m,
tbc=\E[3g,
tsl=\E]2;,
vpa=\E[%i%p1%dd,

Binary file not shown.