diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 22:53:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 22:53:40 +0300 |
| commit | 98302ed5e062bb1b034faf7b3ae22179e200c951 (patch) | |
| tree | c3a94ec12bee1f53ba0d7c5f27a8997670936214 /internal/ui | |
| parent | b2a1534b2dd5a0ee699499b0e24c17ca511c95cf (diff) | |
| parent | 42449043cf1903e0e72295b096274d26187a61b8 (diff) | |
Merge pull request #64 from snonux/codex/add-space-between-table-columns
Fix column spacing and space-separated tags
Diffstat (limited to 'internal/ui')
| -rw-r--r-- | internal/ui/table.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index 0fafe02..c98c3f0 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -131,7 +131,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}) } @@ -512,7 +512,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 @@ -605,7 +605,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 |
