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. --- test/functional/ui/screen.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index c8eea38386..640d258c44 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -279,6 +279,14 @@ function Screen:_handle_visual_bell() self._visual_bell = true end +function Screen:_handle_update_fg(fg) + self._fg = fg +end + +function Screen:_handle_update_bg(bg) + self._bg = bg +end + function Screen:_handle_suspend() self._suspended = true end -- cgit