mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
ui: Reimplement :suspend
command for remote UIs.
- Remove suspend method from the UI protocol - Handle `:suspend` by disconnecting the last channel that sent a request to nvim.
This commit is contained in:
@@ -117,9 +117,7 @@ void ui_write(uint8_t *s, int len)
|
||||
*/
|
||||
void ui_suspend(void)
|
||||
{
|
||||
if (abstract_ui) {
|
||||
UI_CALL(suspend);
|
||||
} else {
|
||||
if (!abstract_ui) {
|
||||
mch_suspend();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user