Description
I'm using Ghostty's automatic theme feature, so the terminal background/theme changes automatically between day and night.
After installing and using bg.nvim, any Ghostty tab where I have opened Neovim seems to stop following Ghostty's automatic theme changes. In other words, once a tab has launched Neovim with this plugin enabled, that tab's automatic theme no longer updates when Ghostty switches between day/night themes.
Expected behavior
Ghostty tabs should continue to follow Ghostty's automatic theme changes after opening and closing Neovim.
Actual behavior
The Ghostty tab where Neovim was opened stops updating its theme/background automatically.
Steps to reproduce
- Enable Ghostty automatic theme switching.
- Install and enable
bg.nvim in Neovim.
- Open Neovim inside a Ghostty tab.
- Close Neovim or wait for Ghostty's automatic theme to switch.
- Observe that the tab no longer follows the automatic theme change.
Notes
This may be related to the plugin setting terminal background/color escape sequences that are not restored when Neovim exits, causing Ghostty to keep a fixed background for that tab.
I can provide more environment details or test a patch if needed.
Description
I'm using Ghostty's automatic theme feature, so the terminal background/theme changes automatically between day and night.
After installing and using
bg.nvim, any Ghostty tab where I have opened Neovim seems to stop following Ghostty's automatic theme changes. In other words, once a tab has launched Neovim with this plugin enabled, that tab's automatic theme no longer updates when Ghostty switches between day/night themes.Expected behavior
Ghostty tabs should continue to follow Ghostty's automatic theme changes after opening and closing Neovim.
Actual behavior
The Ghostty tab where Neovim was opened stops updating its theme/background automatically.
Steps to reproduce
bg.nvimin Neovim.Notes
This may be related to the plugin setting terminal background/color escape sequences that are not restored when Neovim exits, causing Ghostty to keep a fixed background for that tab.
I can provide more environment details or test a patch if needed.