diff options
author | Michael Muré <batolettre@gmail.com> | 2018-12-23 21:46:47 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-12-23 21:46:47 +0100 |
commit | 94b28b68e57cf683731467b73b3ba777d1e4f86d (patch) | |
tree | 491a67e1d148fb661c0137b180d8251ea5ee3cc3 /util | |
parent | 7454b9505ae2d680293d3d00d72df14f36f4e616 (diff) | |
download | git-bug-94b28b68e57cf683731467b73b3ba777d1e4f86d.tar.gz |
termui: display an explicit placeholder for empty messages
Diffstat (limited to 'util')
-rw-r--r-- | util/colors/colors.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/colors/colors.go b/util/colors/colors.go index c57e9019..f8c6d188 100644 --- a/util/colors/colors.go +++ b/util/colors/colors.go @@ -13,6 +13,7 @@ var ( YellowBg = color.New(color.BgYellow, color.FgBlack).SprintFunc() Green = color.New(color.FgGreen).SprintFunc() GreenBg = color.New(color.BgGreen, color.FgBlack).SprintFunc() + GreyBold = color.New(color.BgBlack, color.Bold).SprintfFunc() Red = color.New(color.FgRed).SprintFunc() Cyan = color.New(color.FgCyan).SprintFunc() CyanBg = color.New(color.BgCyan, color.FgBlack).SprintFunc() |