From d5b5063622ab9764a851fdf56c60d14ad0736583 Mon Sep 17 00:00:00 2001 From: Robin Allen Date: Sat, 11 Jul 2015 00:03:30 +0100 Subject: Notify attached UIs whenever menus change This adds a redraw notification "update_menu" which is sent whenever Vim's menus are changed by the :menu command and friends. --- src/nvim/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/ui.h') diff --git a/src/nvim/ui.h b/src/nvim/ui.h index 9cfd99c096..c87d7f0c55 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -20,6 +20,7 @@ struct ui_t { void (*clear)(UI *ui); void (*eol_clear)(UI *ui); void (*cursor_goto)(UI *ui, int row, int col); + void (*update_menu)(UI *ui); void (*busy_start)(UI *ui); void (*busy_stop)(UI *ui); void (*mouse_on)(UI *ui); -- cgit