Open
Description
Changes to a custom theme are not reflected in LNAV, even after restarting the application or switching themes.
To Reproduce
- Create a theme file xyz.json with "theme": "xyz" in ~/.config/lnav/configs/installed/.
- Add "strike": true for all text to verify it's working.
- Set the theme using
:config /ui/theme xyz
.- Modify the theme (e.g., change "strike": false).
- Restart LNAV — old styling remains (text still striked).
- Switching to other themes and back doesn't help.
- Deleting xyz.json breaks LNAV, so the file is being read.
It should apply the updated theme after restart or offer a way to reload it, but it seems to use a cached or stale version of the theme.
Questions:
- Is there a cache involved?
- Is there a way to reload themes manually?
- Is this a bug in theme handling?
LNAV Version:
v0.12.4
OS:macOS
(Terminal:Ghostty
)
Theme Location:~/.config/lnav/configs/installed/xyz.json
Thanks!