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 /test/functional/ui/screen.lua | |
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 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 8 |
1 files changed, 8 insertions, 0 deletions
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 |