aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc/remote_ui.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-08-17 13:19:53 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-08-21 10:56:57 -0300
commit6e59b7b0e5cfe84db8629c728b942a5fea6bdda3 (patch)
tree872278a3770aad7c08f6373712b441a3e7bd36fd /src/nvim/msgpack_rpc/remote_ui.c
parentd5b5063622ab9764a851fdf56c60d14ad0736583 (diff)
downloadrneovim-6e59b7b0e5cfe84db8629c728b942a5fea6bdda3.tar.gz
rneovim-6e59b7b0e5cfe84db8629c728b942a5fea6bdda3.tar.bz2
rneovim-6e59b7b0e5cfe84db8629c728b942a5fea6bdda3.zip
tui/remote_ui: Fix some regressions
- Explicitly set the SignalWatcher event queue. Without this, the watcher will publish events to the fast queue, resulting in resize bugs for certain terminals(#2322). - Set `async = false` to the `remote_ui_attach` handler(It was a deferred before, this is the new equivalent)
Diffstat (limited to 'src/nvim/msgpack_rpc/remote_ui.c')
-rw-r--r--src/nvim/msgpack_rpc/remote_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/remote_ui.c b/src/nvim/msgpack_rpc/remote_ui.c
index 403ac13f2f..f0d92b52a0 100644
--- a/src/nvim/msgpack_rpc/remote_ui.c
+++ b/src/nvim/msgpack_rpc/remote_ui.c
@@ -28,7 +28,7 @@ void remote_ui_init(void)
connected_uis = pmap_new(uint64_t)();
// Add handler for "attach_ui"
String method = cstr_as_string("ui_attach");
- MsgpackRpcRequestHandler handler = {.fn = remote_ui_attach, .async = true};
+ MsgpackRpcRequestHandler handler = {.fn = remote_ui_attach, .async = false};
msgpack_rpc_add_method_handler(method, handler);
method = cstr_as_string("ui_detach");
handler.fn = remote_ui_detach;