From fc8f7686905bf0441f4a2f35a65dad85fe813df3 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Fri, 12 Dec 2014 16:25:11 -0300 Subject: 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. --- src/nvim/ui.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/ui.h') 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); }; -- cgit