diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-12-12 16:25:11 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-13 11:53:27 -0300 |
commit | fc8f7686905bf0441f4a2f35a65dad85fe813df3 (patch) | |
tree | 7e3ae9b093fe399752da9f4ddfa04059c9348b3f /src/nvim/ui.h | |
parent | 1ccbd94beec5c1f5d91b0b084062afa7908dd69e (diff) | |
download | rneovim-fc8f7686905bf0441f4a2f35a65dad85fe813df3.tar.gz rneovim-fc8f7686905bf0441f4a2f35a65dad85fe813df3.tar.bz2 rneovim-fc8f7686905bf0441f4a2f35a65dad85fe813df3.zip |
ui: Add update_fg/update_bg methods
It is necessary to notify the UI when the default background/foreground colors
change in order to render correctly.
Diffstat (limited to 'src/nvim/ui.h')
-rw-r--r-- | src/nvim/ui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index d0933055cc..7c4a233d79 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -32,6 +32,8 @@ struct ui_t { void (*bell)(UI *ui); void (*visual_bell)(UI *ui); void (*flush)(UI *ui); + void (*update_fg)(UI *ui, int fg); + void (*update_bg)(UI *ui, int bg); void (*suspend)(UI *ui); }; |