aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-12-12 16:25:11 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-10 21:41:31 -0300
commit4f5f246a958e66e04a5d62b3bf0d8986afb51c09 (patch)
tree7bafd201edc44c22a39003a43a51ced1983917c2 /src/nvim/ui.h
parent209b5ed6ba76fe28c5ec7e1c7b38f77c1fa53250 (diff)
downloadrneovim-4f5f246a958e66e04a5d62b3bf0d8986afb51c09.tar.gz
rneovim-4f5f246a958e66e04a5d62b3bf0d8986afb51c09.tar.bz2
rneovim-4f5f246a958e66e04a5d62b3bf0d8986afb51c09.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.h2
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);
};