diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-02-09 20:56:30 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-02-09 21:39:56 +0100 |
commit | 30b29a36e80bfeed50bb6ea618401fe35100490f (patch) | |
tree | 54aa923c968f95a89ff3c8c10ba4fdc7d26dadff /src/nvim/eval.c | |
parent | 257765d9e0f20dc060f496ed400b16203e44dc9c (diff) | |
download | rneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.tar.gz rneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.tar.bz2 rneovim-30b29a36e80bfeed50bb6ea618401fe35100490f.zip |
refactor(ui): remove some superfluous ui_flush() calls
- <expr> mapping has no business saving and restoring the
low-level UI cursor. The cursor will be put in a reasonable
position after input is processed, chill out.
- TUI handles output needed for suspend
- vgetc() family of function does flushing
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 4392ea306f..4de4b7a080 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -7469,7 +7469,6 @@ void ex_execute(exarg_T *eap) if (eap->cmdidx == CMD_echomsg) { msg_ext_set_kind("echomsg"); msg_attr(ga.ga_data, echo_attr); - ui_flush(); } else if (eap->cmdidx == CMD_echoerr) { // We don't want to abort following commands, restore did_emsg. int save_did_emsg = did_emsg; |