diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-06 22:58:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-07 09:24:18 +0300 |
| commit | 42831b2cd321cc4682a00f3494f1579c2e19d0e9 (patch) | |
| tree | 9e72069f190639ec52b59d9378d8eb8fad1e5d10 /internal/ui/table.go | |
| parent | 2f7c0a0cb8c247b7ebda3b1873f2219105693818 (diff) | |
ui: improve ultra mode colors, separators, and navigation
- Theme: SelectedBG changed from purple (57) to dark grey (238) so
selected cards are clearly distinct from the status bar; priority
badge colors switched to subtler dark variants (red/blue/green)
- Ultra header: ID bold white, urgency amber, age dim, status grey;
no background on unselected cards (pure black terminal background)
- Priority badge: 3-char wide centred pill with white text
- Annotations: italic and dimmer (244) vs description (253)
- Card separator: full-width ─── line in dim grey (237) instead of
a blank line, making task boundaries easier to scan
- u key in ultra mode toggles back to table view (syncs cursor);
from --ultra startup mode u is a no-op since there is no table to
return to
- q/esc from --ultra startup mode exits directly instead of dropping
to the table view (ultraStartup flag tracks launch origin)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/ui/table.go')
| -rw-r--r-- | internal/ui/table.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index ef81b9a..4cb918f 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -91,6 +91,7 @@ type detailViewState struct { // ultraState holds the state for the ultra mode task list and its search UI. type ultraState struct { showUltra bool + ultraStartup bool // true when ultra was set via --ultra flag; q quits directly ultraCursor int ultraOffset int ultraSearching bool @@ -1328,6 +1329,9 @@ func (m *Model) SetDisco(d bool) { // SetUltra enables or disables ultra mode, causing the UI to start directly // in the ultra task list view instead of the default table view. +// When u is true, q/esc quits the application immediately rather than +// returning to the table view, because there is no table view to return to. func (m *Model) SetUltra(u bool) { m.showUltra = u + m.ultraStartup = u } |
