From bab3b0ad45d0512ad4e5d42a44807bb39492435f Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sat, 29 Sep 2018 13:28:53 +0200 Subject: ui: reserve the right to split a screen redraw into multiple batches. --- src/nvim/api/ui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } -- cgit