aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.h
diff options
context:
space:
mode:
authorRobin Allen <r@foon.uk>2015-07-11 00:03:30 +0100
committerRobin Allen <r@foon.uk>2015-08-21 14:23:50 +0100
commitd5b5063622ab9764a851fdf56c60d14ad0736583 (patch)
tree0300adec7e375a0c57eef58965602d0248b32e14 /src/nvim/ui.h
parent250aca4f8938ded5bf7dfbc56904b4e696d219b1 (diff)
downloadrneovim-d5b5063622ab9764a851fdf56c60d14ad0736583.tar.gz
rneovim-d5b5063622ab9764a851fdf56c60d14ad0736583.tar.bz2
rneovim-d5b5063622ab9764a851fdf56c60d14ad0736583.zip
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.
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r--src/nvim/ui.h1
1 files changed, 1 insertions, 0 deletions
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);