From 42831b2cd321cc4682a00f3494f1579c2e19d0e9 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 6 Apr 2026 22:58:07 +0300 Subject: ui: improve ultra mode colors, separators, and navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- internal/ui/table.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'internal/ui/table.go') 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 } -- cgit v1.2.3