mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
fix(tui): make :cquit work properly with remote TUI (#25313)
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user