summaryrefslogtreecommitdiff
path: root/internal/ui
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-06 22:48:26 +0300
committerPaul Buetow <paul@buetow.org>2026-04-07 09:24:18 +0300
commit0f8005352d02236c923ac9c593de47f886ca4305 (patch)
treead9a85a95ebe604bb65543f431f727b39addbf71 /internal/ui
parent896cfea3c06e7aa3247c80f175f96249b9bf5a88 (diff)
ui: add --ultra CLI flag to start in ultra modus (yw)
Add --ultra boolean flag mirroring the --disco pattern. Add SetUltra() method to Model so the flag sets showUltra=true before the TUI starts, opening directly in ultra mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/ui')
-rw-r--r--internal/ui/table.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go
index b829501..ef81b9a 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -1325,3 +1325,9 @@ func (m *Model) applyTheme() {
func (m *Model) SetDisco(d bool) {
m.disco = d
}
+
+// SetUltra enables or disables ultra mode, causing the UI to start directly
+// in the ultra task list view instead of the default table view.
+func (m *Model) SetUltra(u bool) {
+ m.showUltra = u
+}