1
0
forked from aniani/vim

patch 8.2.2800: after a timer displays text a hit-enter prompt is given

Problem:    After a timer displays text a hit-enter prompt is given.
Solution:   Reset msg_didany and need_wait_return. (closes #8136)
This commit is contained in:
Bram Moolenaar
2021-04-22 21:39:30 +02:00
parent 11e3c5ba82
commit 9f28416e54
3 changed files with 31 additions and 0 deletions

View File

@@ -3002,6 +3002,13 @@ redraw_after_callback(int call_update_screen)
// keep the command line if possible
update_screen(VALID_NO_UPDATE);
setcursor();
if (msg_scrolled == 0)
{
// don't want a hit-enter prompt when something else is displayed
msg_didany = FALSE;
need_wait_return = FALSE;
}
}
cursor_on();
#ifdef FEAT_GUI