aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 15:48:26 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 15:49:03 +0200
commit2b93e0bce102d7ccf8402b4506be9e55698f2ea9 (patch)
treea0e3b0ec50673b074285177a0f067a3d0a1bd397 /app/Main.hs
parent80c35ec3ba6abcbb39aa140eebff5fe9468d37e4 (diff)
strip tags from description
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 151115e..44b4242 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -134,7 +134,13 @@ showMatches issues = do
[ [P.annotate P.bold (P.pretty issue.title)],
if not (T.null issue.description)
then [P.pretty issue.description]
- else []
+ else [],
+ map
+ ( \(I.Tag k v) ->
+ P.annotate (P.colorDull P.Yellow) $
+ P.pretty ("@" `T.append` k `T.append` " " `T.append` v)
+ )
+ issue.tags
]
)
)