Problem: still possible flicker
Solution: Use redraw_as_cleared() instead of screenclear() to avoid
flicker (Yasuhiro Matsumoto).
When the window width matches the frame width, screenclear() causes
visible flicker. Use redraw_as_cleared() instead which marks the
screen for redraw without actually clearing it.
closes: #19732
Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
&& wp->w_width == topframe->fr_width)
{
if (!no_win_do_lines_ins)
- screenclear(); // will set wp->w_lines_valid to 0
+ redraw_as_cleared(); // don't clear the screen to avoid flicker
return FAIL;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 228,
/**/
227,
/**/