1
0
forked from aniani/vim

updated for version 7.3.137

Problem:    When 'lazyredraw' is set the screen may not be updated. (Ivan
            Krasilnikov)
Solution:   Call update_screen() before waiting for input.
This commit is contained in:
Bram Moolenaar
2011-03-03 15:04:08 +01:00
parent ec737235c7
commit 6eb634ef1f
3 changed files with 14 additions and 2 deletions

View File

@@ -3115,7 +3115,15 @@ get_keystroke()
continue;
if (n == KEYLEN_REMOVED) /* key code removed */
{
if (must_redraw)
{
/* Redrawing was postponed, do it now. */
update_screen(0);
setcursor(); /* put cursor back where it belongs */
}
continue;
}
if (n > 0) /* found a termcode: adjust length */
len = n;
if (len == 0) /* nothing typed yet */