diff --git a/kitty/parser.c b/kitty/parser.c index cd4bb86c0..ff2ac875c 100644 --- a/kitty/parser.c +++ b/kitty/parser.c @@ -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) { diff --git a/kitty/terminfo.py b/kitty/terminfo.py index d9310f497..c99f78ce5 100644 --- a/kitty/terminfo.py +++ b/kitty/terminfo.py @@ -234,7 +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 + '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) diff --git a/terminfo/kitty.terminfo b/terminfo/kitty.terminfo index 2179ff469..b754c2ff3 100644 --- a/terminfo/kitty.terminfo +++ b/terminfo/kitty.terminfo @@ -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, diff --git a/terminfo/x/xterm-kitty b/terminfo/x/xterm-kitty index 4471e81c3..57891eced 100644 Binary files a/terminfo/x/xterm-kitty and b/terminfo/x/xterm-kitty differ