summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-09-23 13:09:23 +0530
committerArun Isaac2021-09-23 14:16:47 +0530
commit1f1a0423ead4a9324bfb25db5a2c72e960799f96 (patch)
tree8f0a416f2039cd9f88585cb41afc777ed720191b
parentef8b00c5e4838116e3d07703fad4f818350045b6 (diff)
downloadgn-gemtext-1f1a0423ead4a9324bfb25db5a2c72e960799f96.tar.gz
gnbug: Print keywords in issue listing.
* gnbug (gnbug-list): Print keywords in issue listing.
-rwxr-xr-xgnbug9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnbug b/gnbug
index 3e138ba..c57f717 100755
--- a/gnbug
+++ b/gnbug
@@ -271,11 +271,18 @@ terminal."
(issue-assigned issue))))))
(tlog (match-lambda*
((_ (index . issue))
- (format #t "~a ~a ~a ~a~a~%"
+ (format #t "~a ~a ~a ~a~a~a~%"
(magenta (string-append "#" (number->string index)))
(issue-created-relative-date issue)
(cyan (issue-creator issue))
(issue-title issue)
+ (match (issue-keywords issue)
+ (() "")
+ (keywords
+ (blue
+ (string-append " ["
+ (string-join keywords ", ")
+ "]"))))
(match (issue-assigned issue)
(() "")
(assignees