diff options
author | Christian Persch <chpe@src.gnome.org> | 2020-06-04 21:54:41 +0200 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2020-06-04 21:58:33 +0200 |
commit | 4171f0450dadca5d93c7e7141bce0b4f377b1a2d (patch) | |
tree | b4aa3407edc3b061dac5c0fe50fe34ee89f4013b | |
parent | 89f505e893d8b93b48470b29844a51773917ca4a (diff) | |
download | vte-0-56.tar.gz |
emulation: Fix EL 0 after cursor movementvte-0-56
Before erasing to the end of the line, need to fill the line
up to the current cursor position.
Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/260
(cherry picked from commit b3d5c1f6a4422d4c46ceb6d0379aaeac3a3f8068)
-rw-r--r-- | src/vteseq.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vteseq.cc b/src/vteseq.cc index d596d8b9..eb58703e 100644 --- a/src/vteseq.cc +++ b/src/vteseq.cc @@ -753,7 +753,7 @@ Terminal::clear_to_eol() /* ensure_cursor_is_onscreen(); */ /* Get the data for the row which the cursor points to. */ - auto rowdata = ensure_row(); + auto rowdata = ensure_cursor(); g_assert(rowdata != NULL); if ((glong) _vte_row_data_length(rowdata) > m_screen->cursor.col) { /* Clean up Tab/CJK fragments. */ |