fix: the selected row is a shade of the background, in every pane #22

Merged
keb merged 2 commits from fix/blurred-selection into main 2026-10-11 23:26:07 +02:00
Owner
  • Every pane now gives its selected row a background. Before, panes that weren't focused showed it in bold only, which was hard to see without a theme. The plugin's theme gives those rows CursorLine, so the problem only showed outside Neovim. The focused pane's row is also bold.
  • The background is a shade of the terminal's own background. lazysecrets asks the terminal for its background colour and shades it a little lighter on a dark background, or darker on a light one: 9% in the focused pane, 5% in the others. Palette 8 was often too bright to read coloured rows on.
  • Palette 8 stays as the fallback until the terminal answers, or if it never does.
  • Theme settings still win: selectedLineBgColor and inactiveViewSelectedLineBgColor override the shade.

🤖 Generated with Claude Code

- **Every pane** now gives its selected row a background. Before, panes that weren't focused showed it in bold only, which was hard to see without a theme. The plugin's theme gives those rows `CursorLine`, so the problem only showed outside Neovim. The focused pane's row is also bold. - **The background is a shade of the terminal's own background.** lazysecrets asks the terminal for its background colour and shades it a little lighter on a dark background, or darker on a light one: 9% in the focused pane, 5% in the others. Palette 8 was often too bright to read coloured rows on. - **Palette 8 stays as the fallback** until the terminal answers, or if it never does. - **Theme settings still win:** `selectedLineBgColor` and `inactiveViewSelectedLineBgColor` override the shade. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
keb added 1 commit 2026-10-11 23:20:13 +02:00
fix: the selected row has a background in every pane, not only the focused one
CI / Checks (pull_request) Successful in 25s
PR title / Conventional title (pull_request) Successful in 2s
b95eeb725b
Bold alone was hard to see without a theme, so the other panes didn't
show what was selected in them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
keb added 1 commit 2026-10-11 23:24:57 +02:00
feat: the selected row is a shade of the terminal's background
CI / Checks (pull_request) Successful in 24s
PR title / Conventional title (pull_request) Successful in 1s
9963615e51
lazysecrets asks the terminal for its background and shades the
selection from it, a little lighter on a dark background and darker on
a light one, where palette 8 was often too bright to read coloured rows
on. Palette 8 stays until the terminal answers, or if it doesn't, and
a theme's selection colours still win.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
keb changed title from fix: the selected row has a background in every pane, not only the focused one to fix: the selected row is a shade of the background, in every pane 2026-10-11 23:25:06 +02:00
keb merged commit fcd4fcb783 into main 2026-10-11 23:26:07 +02:00
keb deleted branch fix/blurred-selection 2026-10-11 23:26:07 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: keb/lazysecrets#22