aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/lua/executor.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-10 15:24:36 +0800
committerGitHub <noreply@github.com>2023-11-10 15:24:36 +0800
commitd5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09 (patch)
treed3ade990979b1c8f0ad3890fc8a6eb5b90848f68 /src/nvim/lua/executor.c
parentbf5cf8ae82f2a164fba6ae063e0f5b7cb7c1df7b (diff)
downloadrneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.tar.gz
rneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.tar.bz2
rneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.zip
fix(f_wait): flush UI before blocking (#25962)
Diffstat (limited to 'src/nvim/lua/executor.c')
-rw-r--r--src/nvim/lua/executor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/lua/executor.c b/src/nvim/lua/executor.c
index 3333c73bfd..876a5c34bd 100644
--- a/src/nvim/lua/executor.c
+++ b/src/nvim/lua/executor.c
@@ -463,7 +463,7 @@ static int nlua_wait(lua_State *lstate)
int pcall_status = 0;
bool callback_result = false;
- // Flush UI before blocking
+ // Flush screen updates before blocking.
ui_flush();
LOOP_PROCESS_EVENTS_UNTIL(&main_loop,