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

View File

@@ -96,6 +96,7 @@ void linebuf_set_attribute(LineBuf *, unsigned int , unsigned int );
void linebuf_rewrap(LineBuf *self, LineBuf *other, index_type *, index_type *, HistoryBuf *, index_type *, index_type *);
void linebuf_mark_line_dirty(LineBuf *self, index_type y);
void linebuf_mark_line_clean(LineBuf *self, index_type y);
void linebuf_mark_line_as_not_continued(LineBuf *self, index_type y);
unsigned int linebuf_char_width_at(LineBuf *self, index_type x, index_type y);
void linebuf_refresh_sprite_positions(LineBuf *self);
void historybuf_add_line(HistoryBuf *self, const Line *line);