summaryrefslogtreecommitdiff
path: root/gnbug
diff options
context:
space:
mode:
authorArun Isaac2021-09-27 00:16:56 +0530
committerArun Isaac2021-09-27 00:16:56 +0530
commitb5a495995c502d1656be8f97ac963fd844e1ac75 (patch)
tree208cebee2c306f3515b29c24cddef8ed1ca87898 /gnbug
parent6cdb87d430deecffca078f2cbb1cc41e85f37f10 (diff)
downloadgn-gemtext-b5a495995c502d1656be8f97ac963fd844e1ac75.tar.gz
gnbug: Print number of posts.
* gnbug (print-issue): Print number of posts.
Diffstat (limited to 'gnbug')
-rwxr-xr-xgnbug4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnbug b/gnbug
index b64e7a0..43c52f0 100755
--- a/gnbug
+++ b/gnbug
@@ -350,6 +350,10 @@ List recent updates.
(string-join (issue-assigned issue)
", ")
")"))))
+ (when (> (issue-posts issue) 1)
+ (display (string-append " ["
+ (number->string (issue-posts issue))
+ " posts]")))
(newline)
(display (string-append
(cyan (string-append "#" (number->string issue-number)))