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.
diff --git a/src/term.c b/src/term.c
index f1ccfcb..2dc6cbd 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3718,6 +3718,7 @@
/* 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);