You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
background is currently determined at neovim start time, using a OSC11? query.
When changing background color/theme, it would be helpful to have a way to tell neovim to re-query the terminal for a background color.
Vim has a way to do so by executing :call echoraw(&t_RB) (Effectively printing the OSC11? query to the TTY)
Expected behavior
Have a way to re-evaluate the background using OSC11?
The text was updated successfully, but these errors were encountered:
IIRC the OSC 11 response is only parsed on startup, so if the response is received later it will not update 'background' automatically.
You would have to parse the response from the terminal yourself, or maybe we could update the code in input.c to always handle the OSC 11 response.
Or option 3 is to introduce a higher level abstraction (a function/option/autocommand) that handles the whole process of issuing OSC 11 -> reading the response -> updating 'background' that could be triggered by a user at any time.
Or option 3 is to introduce a higher level abstraction (a function/option/autocommand) that handles the whole process of issuing OSC 11 -> reading the response -> updating 'background' that could be triggered by a user at any time.
Problem
background
is currently determined at neovim start time, using a OSC11?
query.When changing background color/theme, it would be helpful to have a way to tell neovim to re-query the terminal for a background color.
Vim has a way to do so by executing
:call echoraw(&t_RB)
(Effectively printing the OSC11?
query to the TTY)Expected behavior
Have a way to re-evaluate the background using OSC11
?
The text was updated successfully, but these errors were encountered: