forked from aniani/vim
updated for version 7.3.139
Problem: When 'lazyredraw' is set ":ver" output can't be read. Solution: Don't redraw the screen when at a prompt or command line.
This commit is contained in:
@@ -3116,7 +3116,7 @@ get_keystroke()
|
||||
|
||||
if (n == KEYLEN_REMOVED) /* key code removed */
|
||||
{
|
||||
if (must_redraw)
|
||||
if (must_redraw != 0 && !need_wait_return && (State & CMDLINE) == 0)
|
||||
{
|
||||
/* Redrawing was postponed, do it now. */
|
||||
update_screen(0);
|
||||
|
Reference in New Issue
Block a user