forked from aniani/vim
patch 8.0.0686: extra redraw when using CTRL-L in second window
Problem: When typing CTRL-L in a window that's not the first one, another redraw will happen later. (Christian Brabandt) Solution: Reset must_redraw after calling screenclear().
This commit is contained in:
@@ -648,6 +648,8 @@ update_screen(int type_arg)
|
|||||||
{
|
{
|
||||||
screenclear(); /* will reset clear_cmdline */
|
screenclear(); /* will reset clear_cmdline */
|
||||||
type = NOT_VALID;
|
type = NOT_VALID;
|
||||||
|
/* must_redraw may be set indirectly, avoid another redraw later */
|
||||||
|
must_redraw = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (clear_cmdline) /* going to clear cmdline (done below) */
|
if (clear_cmdline) /* going to clear cmdline (done below) */
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
686,
|
||||||
/**/
|
/**/
|
||||||
685,
|
685,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user