From fbb5b4a8fdf31072abc3ec8727a4061b76fa8a4c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 1 Dec 2024 21:09:20 +0200 Subject: change colour --- internal/colour/colour.go | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'internal') diff --git a/internal/colour/colour.go b/internal/colour/colour.go index 71cb16a..09b9fb0 100644 --- a/internal/colour/colour.go +++ b/internal/colour/colour.go @@ -1,11 +1,15 @@ package colour -import "github.com/fatih/color" +import ( + "fmt" + + "github.com/fatih/color" +) var ( - infoCol = color.New(color.FgCyan, color.BgBlue, color.Bold) - Infof = infoCol.PrintfFunc() - Infoln = infoCol.PrintlnFunc() + // infoCol = color.New(color.FgCyan, color.BgBlue, color.Bold) + Infof = fmt.Printf + Infoln = fmt.Println info2Col = color.New(color.FgHiYellow, color.BgBlue) Info2f = info2Col.PrintfFunc() SInfo2f = info2Col.SprintfFunc() -- cgit v1.2.3