diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-09-29 13:28:53 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-10-02 10:52:37 +0200 |
commit | bab3b0ad45d0512ad4e5d42a44807bb39492435f (patch) | |
tree | 235a4101886a60fc401420de39fd0072798858ed /src/nvim/api/ui.c | |
parent | 43823acae279a09e4fb51407da86340a10714d38 (diff) | |
download | rneovim-bab3b0ad45d0512ad4e5d42a44807bb39492435f.tar.gz rneovim-bab3b0ad45d0512ad4e5d42a44807bb39492435f.tar.bz2 rneovim-bab3b0ad45d0512ad4e5d42a44807bb39492435f.zip |
ui: reserve the right to split a screen redraw into multiple batches.
Diffstat (limited to 'src/nvim/api/ui.c')
-rw-r--r-- | src/nvim/api/ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 9c16525a6b..01f8c9f71c 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -511,6 +511,7 @@ static void remote_ui_flush(UI *ui) if (!ui->ui_ext[kUILinegrid]) { remote_ui_cursor_goto(ui, data->cursor_row, data->cursor_col); } + push_call(ui, "flush", (Array)ARRAY_DICT_INIT); rpc_send_event(data->channel_id, "redraw", data->buffer); data->buffer = (Array)ARRAY_DICT_INIT; } |