1
0
forked from aniani/vim

patch 8.1.1739: deleted match highlighting not updated in other window

Problem:    Deleted match highlighting not updated in other window.
Solution:   Mark the window for refresh. (closes #4720)  Also fix that
            ambi-width check clears with wrong attributes.
This commit is contained in:
Bram Moolenaar
2019-07-24 14:25:26 +02:00
parent 9bc4dde45d
commit 06029a857a
5 changed files with 40 additions and 1 deletions

View File

@@ -3718,6 +3718,7 @@ may_req_ambiguous_char_width(void)
/* This overwrites a few characters on the screen, a redraw is needed
* after this. Clear them out for now. */
screen_stop_highlight();
term_windgoto(1, 0);
out_str((char_u *)" ");
term_windgoto(0, 0);