summaryrefslogtreecommitdiff
path: root/internal/ui/table.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ui/table.go')
-rw-r--r--internal/ui/table.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go
index 4cb918f..b8b339b 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -91,7 +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
+ ultraStartup bool // true when ultra was set via --ultra flag; q quits directly, esc never does
ultraCursor int
ultraOffset int
ultraSearching bool
@@ -1329,8 +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.
+// When u is true, q quits the application immediately rather than returning
+// to the table view, because there is no table view to return to. esc always
+// cancels/closes overlays instead of quitting.
func (m *Model) SetUltra(u bool) {
m.showUltra = u
m.ultraStartup = u