diff options
author | tv <tv@shackspace.de> | 2015-01-11 21:54:11 +0100 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-01-11 21:54:11 +0100 |
commit | a3e49d9d5268974080ea1ef1ec4c0dce56d7a833 (patch) | |
tree | b0ff111edeaf9823b8892c73abbf1ff0dd1cb5ef /RenderTreeView.hs | |
parent | 5273db3d5c21cd4ef331df57e09c58c93bcc3f46 (diff) |
colorize "draft" tag
Diffstat (limited to 'RenderTreeView.hs')
-rw-r--r-- | RenderTreeView.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/RenderTreeView.hs b/RenderTreeView.hs index 288764f..3926282 100644 --- a/RenderTreeView.hs +++ b/RenderTreeView.hs @@ -124,6 +124,7 @@ dateSGR = SGR [38,5,071] tagsSGR = SGR [38,5,036] killedTagSGR = SGR [38,5,088] starTagSGR = SGR [38,5,226] +draftTagSGR = SGR [38,5,202] boringMessageSGR = SGR [38,5,023] unreadMessageSGR = SGR [38,5,117] @@ -211,6 +212,7 @@ renderTags = renderTag :: Tag -> Trammel String renderTag tag = case tag of + "draft" -> draftTagSGR plain "killed" -> killedTagSGR plain "star" -> starTagSGR plain _ -> plain |