summaryrefslogtreecommitdiff
path: root/tissue/issue.scm
diff options
context:
space:
mode:
authorArun Isaac2022-06-29 13:02:58 +0530
committerArun Isaac2022-06-29 13:39:12 +0530
commitdc84fecb4799d4de041e0967ef29b19edcd017b6 (patch)
tree35209d61ef6ef48587e722de6f6fc401125914ec /tissue/issue.scm
parent01be39d3e096b983a2686c90018058d50c962a93 (diff)
downloadtissue-dc84fecb4799d4de041e0967ef29b19edcd017b6.tar.gz
tissue-dc84fecb4799d4de041e0967ef29b19edcd017b6.tar.lz
tissue-dc84fecb4799d4de041e0967ef29b19edcd017b6.zip
document: Print identifier identifying type of search result.
* tissue/document.scm (print): Print DOCUMENT identifier. * tissue/issue.scm (print): Print ISSUE identifier.
Diffstat (limited to 'tissue/issue.scm')
-rw-r--r--tissue/issue.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tissue/issue.scm b/tissue/issue.scm
index 6f03b36..65dd7a0 100644
--- a/tissue/issue.scm
+++ b/tissue/issue.scm
@@ -119,6 +119,11 @@
" posts]")
port))
(newline port)
+ (display (if (issue-open? issue)
+ (colorize-string "ISSUE" 'BOLD 'YELLOW)
+ (colorize-string "✓ ISSUE" 'BOLD 'GREEN))
+ port)
+ (display " " port)
(display (colorize-string (file-document-path issue) 'YELLOW)
port)
(newline port)