8000 Custom theme changes not reflected after modifications · Issue #1474 · tstack/lnav · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Custom theme changes not reflected after modifications #1474
Open
@theinfinull

Description

@theinfinull

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0