fix: call ui_busy_start() and ui_busy_stop() when :write

This commit is contained in:
Shougo Matsushita 2024-06-22 12:14:23 +09:00
parent d82efeccc7
commit 585d1ad9a7

View File

@ -1625,6 +1625,8 @@ int do_write(exarg_T *eap)
return FAIL;
}
ui_busy_start();
char *ffname = eap->arg;
if (*ffname == NUL) {
if (eap->cmdidx == CMD_saveas) {
@ -1771,6 +1773,7 @@ int do_write(exarg_T *eap)
}
theend:
ui_busy_stop();
xfree(free_fname);
return retval;
}