Fix incorrect Sync terminfo entry

This commit is contained in:
Kovid Goyal 2021-07-03 09:18:33 +05:30
parent c6938c9039
commit 610a09817f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
4 changed files with 3 additions and 3 deletions

View File

@ -1129,7 +1129,7 @@ START_ALLOW_CASE_RANGE
END_ALLOW_CASE_RANGE
if (screen->parser_buf_pos > 0 && screen->parser_buf[screen->parser_buf_pos-1] == ESC) {
if (ch == '\\') { screen->parser_buf_pos--; return true; }
REPORT_ERROR("DCS sequence contained non-printable character: 0x%x ignoring the sequence", ESC);
REPORT_ERROR("DCS sequence contained ESC without trailing \\ ignoring the sequence");
SET_STATE(ESC); return false;
}
if (screen->parser_buf_pos >= PARSER_BUF_SZ - 1) {

View File

@ -234,7 +234,7 @@ def encode_keystring(keybytes: bytes) -> str:
'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
'Sync': r'\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)

View File

@ -17,7 +17,7 @@ xterm-kitty|KovIdTTY,
lines#24,
pairs#32767,
Smulx=\E[4:%p1%dm,
Sync=\EP=%p1%ds\E\,
Sync=\EP=%p1%ds\E\\,
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,
bold=\E[1m,

Binary file not shown.