diff options
author | Arun Isaac | 2021-09-23 13:09:23 +0530 |
---|---|---|
committer | Arun Isaac | 2021-09-23 14:16:47 +0530 |
commit | 1f1a0423ead4a9324bfb25db5a2c72e960799f96 (patch) | |
tree | 8f0a416f2039cd9f88585cb41afc777ed720191b | |
parent | ef8b00c5e4838116e3d07703fad4f818350045b6 (diff) | |
download | gn-gemtext-1f1a0423ead4a9324bfb25db5a2c72e960799f96.tar.gz |
gnbug: Print keywords in issue listing.
* gnbug (gnbug-list): Print keywords in issue listing.
-rwxr-xr-x | gnbug | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |