diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-03 23:20:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-03 23:20:07 +0300 |
| commit | e2795b421a92ec16a64b1780dd71cb1a68b92680 (patch) | |
| tree | 21d80df8bd4df92a4c1592167078b6886ea70f37 /internal/ui/table.go | |
| parent | ca680540998776c2b42f6d1a827102b20139f8cf (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.go | 3 |
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)). |
