diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-09 09:51:11 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-12 09:47:41 -0300 |
commit | d992213678ecd14902ae74ff765e682fb76d5ad9 (patch) | |
tree | 4d168ce56813e7ffd588606ca1243665e92ea66a /src/nvim/msgpack_rpc/channel.c | |
parent | abc147a9775ef7de221443ff68ddfbc8ff6e0177 (diff) | |
download | rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.tar.gz rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.tar.bz2 rneovim-d992213678ecd14902ae74ff765e682fb76d5ad9.zip |
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.
Diffstat (limited to 'src/nvim/msgpack_rpc/channel.c')
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index af7e7fa409..85511fb587 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -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; |