Fix the CSI J (Erase in display ED) escape code not removing line continued markers

Fixes #2809

Remains to write tests for this.
This commit is contained in:
Kovid Goyal
2020-06-29 14:17:40 +05:30
parent f0c3641ebd
commit e2e701460b
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -1188,6 +1188,7 @@ screen_erase_in_display(Screen *self, unsigned int how, bool private) {
line_apply_cursor(self->linebuf->line, self->cursor, 0, self->columns, true);
}
linebuf_mark_line_dirty(self->linebuf, i);
linebuf_mark_line_as_not_continued(self->linebuf, i);
}
self->is_dirty = true;
self->selection = EMPTY_SELECTION;