forked from aniani/vim
patch 7.4.1603
Problem: Timer with an ":echo" command messes up display. Solution: Redraw depending on the mode. (Hirohito Higashi) Avoid the more prompt being used recursively.
This commit is contained in:
11
src/screen.c
11
src/screen.c
@@ -418,8 +418,15 @@ redraw_asap(int type)
|
||||
void
|
||||
redraw_after_callback()
|
||||
{
|
||||
update_screen(0);
|
||||
setcursor();
|
||||
if (State == HITRETURN || State == ASKMORE)
|
||||
; /* do nothing */
|
||||
else if (State & CMDLINE)
|
||||
redrawcmdline();
|
||||
else if ((State & NORMAL) || (State & INSERT))
|
||||
{
|
||||
update_screen(0);
|
||||
setcursor();
|
||||
}
|
||||
cursor_on();
|
||||
out_flush();
|
||||
#ifdef FEAT_GUI
|
||||
|
Reference in New Issue
Block a user