Add the Sync non-standard capability for synchronized updates to terminfo
Since the geniuses at terminal-wg are trying their best to create chaos by retroactively changing the escape code used for this feature, it is good to have a property for it in terminfo. Since tmux already uses Sync for it, follow that in kitty's terminfo.
This commit is contained in:
parent
64810e0e0b
commit
b2a219f9d8
@ -234,6 +234,7 @@ string_capabilities = {
|
||||
'Smulx': r'\E[4:%p1%dm', # this is a non-standard extension that some terminals use, so match them
|
||||
# Enter strikethrough mode
|
||||
'smxx': r'\E[9m',
|
||||
'Sync': '\\EP=%p1%ds\\E\\', # this is a non-standard extension supported by tmux for synchronized updates
|
||||
# Clear all tab stops
|
||||
'tbc': r'\E[3g',
|
||||
# To status line (used to set window titles)
|
||||
@ -437,7 +438,7 @@ queryable_capabilities = cast(Dict[str, str], numeric_capabilities.copy())
|
||||
queryable_capabilities.update(string_capabilities)
|
||||
extra = (bool_capabilities | numeric_capabilities.keys() | string_capabilities.keys()) - set(termcap_aliases.values())
|
||||
no_termcap_for = frozenset(
|
||||
'Su Smulx Tc setrgbf setrgbb fullkbd kUP kDN'.split() + [
|
||||
'Su Smulx Sync Tc setrgbf setrgbb fullkbd kUP kDN'.split() + [
|
||||
'k{}{}'.format(key, mod)
|
||||
for key in 'UP DN RIT LFT END HOM IC DC PRV NXT'.split()
|
||||
for mod in range(3, 8)])
|
||||
|
||||
@ -17,6 +17,7 @@ xterm-kitty|KovIdTTY,
|
||||
lines#24,
|
||||
pairs#32767,
|
||||
Smulx=\E[4:%p1%dm,
|
||||
Sync=\EP=%p1%ds\E\,
|
||||
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G,
|
||||
bold=\E[1m,
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user