From 42449043cf1903e0e72295b096274d26187a61b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Fri, 20 Jun 2025 22:53:21 +0300 Subject: Space separated tags and table column spacing --- internal/ui/table.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/ui/table.go') diff --git a/internal/ui/table.go b/internal/ui/table.go index 530e813..2ba73c3 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -132,7 +132,7 @@ func (m *Model) reload() error { for i, tsk := range tasks { rows = append(rows, taskToRowSearch(tsk, m.searchRegex)) if m.searchRegex != nil { - tags := strings.Join(tsk.Tags, ",") + tags := strings.Join(tsk.Tags, " ") if m.searchRegex.MatchString(tags) { m.searchMatches = append(m.searchMatches, cellMatch{row: i, col: 5}) } @@ -508,7 +508,7 @@ func taskToRow(t task.Task) atable.Row { age = fmt.Sprintf("%dd", days) } - tags := strings.Join(t.Tags, ",") + tags := strings.Join(t.Tags, " ") urg := fmt.Sprintf("%.1f", t.Urgency) var anns []string @@ -597,7 +597,7 @@ func taskToRowSearch(t task.Task, re *regexp.Regexp) atable.Row { age = fmt.Sprintf("%dd", days) } - tags := strings.Join(t.Tags, ",") + tags := strings.Join(t.Tags, " ") urg := fmt.Sprintf("%.1f", t.Urgency) var anns []string -- cgit v1.2.3