aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cmdhist.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-01 09:44:01 +0200
committerbfredl <bjorn.linse@gmail.com>2022-09-01 09:44:01 +0200
commit5f92d9b345e11adb73df33dc22a8e656aca73b6c (patch)
tree3d9596f8ddf53a9a86205a05a838f8388c823010 /src/nvim/cmdhist.c
parentc0050b71e5f68e77a6c6493682b12bceac93c438 (diff)
downloadrneovim-5f92d9b345e11adb73df33dc22a8e656aca73b6c.tar.gz
rneovim-5f92d9b345e11adb73df33dc22a8e656aca73b6c.tar.bz2
rneovim-5f92d9b345e11adb73df33dc22a8e656aca73b6c.zip
perf(messages): don't call ui_flush() per message line in various places
When msgsep is used, message scrolling is emulated. To make message output fast, inhibit emulated scrolling until the full message text is known
Diffstat (limited to 'src/nvim/cmdhist.c')
-rw-r--r--src/nvim/cmdhist.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/cmdhist.c b/src/nvim/cmdhist.c
index 1426054d0b..2057b0db9e 100644
--- a/src/nvim/cmdhist.c
+++ b/src/nvim/cmdhist.c
@@ -650,7 +650,6 @@ void ex_history(exarg_T *eap)
STRCAT(IObuff, hist[i].hisstr);
}
msg_outtrans((char *)IObuff);
- ui_flush();
}
if (i == idx) {
break;