mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
eventloop: do not redraw in cmdline K_EVENT handler
If :echo is done by an timer or event (such as FocusGained/FocusLost), redrawcmdline() clobbers it.
This commit is contained in:
parent
4bf953cca4
commit
d47b538f39
@ -441,8 +441,7 @@ static int command_line_execute(VimState *state, int key)
|
||||
|
||||
if (s->c == K_EVENT) {
|
||||
multiqueue_process_events(main_loop.events);
|
||||
redrawcmdline();
|
||||
return 1;
|
||||
return command_line_not_changed(s);
|
||||
}
|
||||
|
||||
if (KeyTyped) {
|
||||
|
Loading…
Reference in New Issue
Block a user