This commit is contained in:
Kovid Goyal
2022-03-03 21:24:43 +05:30
parent 198dd52700
commit d452a5cdce
2 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -1181,7 +1181,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 ESC without trailing \\ ignoring the sequence");
REPORT_ERROR("DCS sequence contained ESC without trailing \\ at pos: %u ignoring the sequence", screen->parser_buf_pos);
SET_STATE(ESC); return false;
}
if (screen->parser_buf_pos >= PARSER_BUF_SZ - 1) {