mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
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.
This commit is contained in:
@@ -278,6 +278,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
|
||||
|
Reference in New Issue
Block a user