mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 03:16:31 +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:
@@ -485,6 +485,7 @@ static void on_request_event(Event event)
|
||||
{
|
||||
RequestEvent *e = event.data;
|
||||
Channel *channel = e->channel;
|
||||
last_message_source = channel->id;
|
||||
MsgpackRpcRequestHandler handler = e->handler;
|
||||
Array args = e->args;
|
||||
uint64_t request_id = e->request_id;
|
||||
|
Reference in New Issue
Block a user