diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2017-12-12 18:23:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-12 18:23:19 +0100 |
commit | 34057045beca40406673ff421a4ef1e8e8c08853 (patch) | |
tree | ad32d3d1f5e05cd1f522e67bcd42f8968f6dbf21 /test/functional/ui/screen.lua | |
parent | f976826690a975e03bb57f6cc84955c59ee6cff4 (diff) | |
download | rneovim-34057045beca40406673ff421a4ef1e8e8c08853.tar.gz rneovim-34057045beca40406673ff421a4ef1e8e8c08853.tar.bz2 rneovim-34057045beca40406673ff421a4ef1e8e8c08853.zip |
ui: forward relevant option updates to UIs (#7520)
also make termguicolors mutable after startup
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 075d8c40d7..696feabeed 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -137,6 +137,7 @@ function Screen.new(width, height) visual_bell = false, suspended = false, mode = 'normal', + options = {}, _default_attr_ids = nil, _default_attr_ignore = nil, _mouse_enabled = true, @@ -482,6 +483,10 @@ function Screen:_handle_set_icon(icon) self.icon = icon end +function Screen:_handle_option_set(name, value) + self.options[name] = value +end + function Screen:_clear_block(top, bot, left, right) for i = top, bot do self:_clear_row_section(i, left, right) |