summaryrefslogtreecommitdiff
path: root/gnbug
diff options
context:
space:
mode:
authorArun Isaac2021-09-26 23:24:18 +0530
committerArun Isaac2021-09-26 23:24:18 +0530
commit0fc8d16049dad035d58d37d71561976b5434babb (patch)
tree9511965cfae01e59163fad9647bcb34a56e9993e /gnbug
parent80c4ca88df30277cae30ded1c1691c0231bad8b9 (diff)
downloadgn-gemtext-0fc8d16049dad035d58d37d71561976b5434babb.tar.gz
gnbug: Print tasks.
* gnbug (print-issue): If the issue has tasks, print the fraction completed.
Diffstat (limited to 'gnbug')
-rwxr-xr-xgnbug6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnbug b/gnbug
index 06f6cc0..d7219fe 100755
--- a/gnbug
+++ b/gnbug
@@ -332,6 +332,12 @@ List recent updates.
(cyan (issue-created-relative-date issue))
" by "
(cyan (issue-creator issue))))
+ (unless (zero? (issue-tasks issue))
+ (display (string-append (cyan "; ")
+ (number->string (issue-completed-tasks issue))
+ "/"
+ (number->string (issue-tasks issue))
+ " tasks done")))
(newline))
(define gnbug-list