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.
This commit is contained in:
Robin Allen
2015-07-11 00:03:30 +01:00
parent 250aca4f89
commit d5b5063622
7 changed files with 78 additions and 0 deletions

View File

@@ -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);