summaryrefslogtreecommitdiff
path: root/internal/ui/table.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-03 23:20:07 +0300
committerPaul Buetow <paul@buetow.org>2026-06-03 23:20:07 +0300
commite2795b421a92ec16a64b1780dd71cb1a68b92680 (patch)
tree21d80df8bd4df92a4c1592167078b6886ea70f37 /internal/ui/table.go
parentca680540998776c2b42f6d1a827102b20139f8cf (diff)
Release v0.17.0v0.17.0
Show active taskwarrior filter in the top status bar in both normal table view and ultra mode. Amp-Thread-ID: https://ampcode.com/threads/T-019e8f21-de78-7250-acd2-442e2599766a Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/ui/table.go')
-rw-r--r--internal/ui/table.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go
index b1008fd..1cdb0c9 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -983,6 +983,9 @@ func (m Model) statusLine() string {
func (m Model) topStatusLine() string {
line := fmt.Sprintf("Task Samurai %s", internal.Version)
+ if len(m.filters) > 0 {
+ line += " | filter: " + strings.Join(m.filters, " ")
+ }
return lipgloss.NewStyle().
Foreground(lipgloss.Color(m.theme.StatusFG)).
Background(lipgloss.Color(m.theme.StatusBG)).