summaryrefslogtreecommitdiff
path: root/internal/askcli/formatter.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-27 11:43:20 +0200
committerPaul Buetow <paul@buetow.org>2026-03-27 11:43:20 +0200
commitc8c57f0d5821ae0542cb613c87e6ed2ea66e1e0a (patch)
tree60286e6701450d8951a3d38eeef5326e3fe62b27 /internal/askcli/formatter.go
parent2d35eeb40eee8beed7163f41afab279bce2976ef (diff)
Rename ask table headers
Diffstat (limited to 'internal/askcli/formatter.go')
-rw-r--r--internal/askcli/formatter.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/askcli/formatter.go b/internal/askcli/formatter.go
index 2327a94..d4c1e27 100644
--- a/internal/askcli/formatter.go
+++ b/internal/askcli/formatter.go
@@ -38,8 +38,8 @@ type taskListWidths struct {
func taskListWidthsFor(tasks []TaskExport, aliases map[string]string, terminalWidth int) taskListWidths {
widths := taskListWidths{
- Urgency: len("Urgency"),
- Priority: len("Prio"),
+ Urgency: len("Urg"),
+ Priority: len("Pro"),
ID: len("ID"),
Status: len("Status"),
Started: len("Started"),
@@ -62,8 +62,8 @@ func taskListWidthsFor(tasks []TaskExport, aliases map[string]string, terminalWi
func writeTaskListHeader(b *strings.Builder, widths taskListWidths) {
fmt.Fprintf(b, "%-*s | %-*s | %-*s | %-*s | %-*s | %-*s | %-*s\n",
- widths.Urgency, "Urgency",
- widths.Priority, "Prio",
+ widths.Urgency, "Urg",
+ widths.Priority, "Pro",
widths.ID, "ID",
widths.Status, "Status",
widths.Started, "Started",