diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-07 08:48:02 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 09:24:18 +0300 |
| commit | b3b9922f6675c495695920d3eefed170b36b8582 (patch) | |
| tree | ba446ca3999ace51c203ba91d6fd24c137565aae /internal/task/task.go | |
| parent | 42831b2cd321cc4682a00f3494f1579c2e19d0e9 (diff) | |
ui: fix grey background gaps on selected ultra cards
Each lipgloss Render() call emits an ANSI reset that wipes the card's
SelectedBG colour, leaving fields, separators and spaces on black.
Fix: thread a bg string through renderUltraHeaderWithRegex,
renderUltraMetaWithRegex, renderUltraDescriptionWithRegex,
renderUltraAnnotationsWithRegex, ultraKeyValue, ultraStyledText,
renderUltraSearchLine, and the new ultraFieldSep helper. When the card
is selected, bg = theme.SelectedBG is applied to every inner style, so
no span can reset back to the terminal default. The priority badge keeps
its own background colour regardless of selection state.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/task/task.go')
0 files changed, 0 insertions, 0 deletions
