diff options
| author | Paul Buetow <paul@buetow.org> | 2025-01-03 10:12:02 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-01-03 10:12:02 +0200 |
| commit | a35f0ed04c28d80b902a00c3aec84dd86db34e85 (patch) | |
| tree | b9632f61192d40c3c9fe1e32c2744c91e0ba13de /internal/colour | |
| parent | 5cacdd83fcd28e71f798cac628b5dd602fadef50 (diff) | |
add warning when there is no hashtag
Diffstat (limited to 'internal/colour')
| -rw-r--r-- | internal/colour/colour.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/colour/colour.go b/internal/colour/colour.go index 54cb1d9..b5f2681 100644 --- a/internal/colour/colour.go +++ b/internal/colour/colour.go @@ -14,5 +14,7 @@ var ( Info2f = info2Col.PrintfFunc() SInfo2f = info2Col.SprintfFunc() Ackf = color.New(color.FgBlack, color.BgHiYellow, color.Bold).PrintfFunc() + warnCol = color.New(color.FgHiWhite, color.BgRed) + Warnf = warnCol.PrintfFunc() Successf = color.New(color.FgWhite, color.BgGreen).PrintfFunc() ) |
