fix(tui): make :cquit work properly with remote TUI (#25313)

This commit is contained in:
zeertzjq
2023-09-23 11:00:20 +08:00
committed by GitHub
parent c68c121f50
commit c26b39a9aa
3 changed files with 65 additions and 7 deletions

View File

@@ -659,6 +659,9 @@ void os_exit(int r)
if (ui_client_channel_id) {
ui_client_stop();
if (r == 0) {
r = ui_client_exit_status;
}
} else {
ui_flush();
ui_call_stop();