Skip to content

Commit

Permalink
fix: term colours to be foreground (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrwiersma authored Sep 8, 2021
1 parent be0b886 commit 9f7600d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions term/term.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ func (p Prefixed) Error(msg string) {
// Predefined colors for use with Coloured.
var (
Blue = color.New(color.FgHiBlue)
Red = color.New(color.BgHiRed)
Cyan = color.New(color.BgHiCyan)
Green = color.New(color.BgHiGreen)
Black = color.New(color.BgHiBlack)
Yellow = color.New(color.BgHiYellow)
White = color.New(color.BgHiWhite)
Red = color.New(color.FgHiRed)
Cyan = color.New(color.FgHiCyan)
Green = color.New(color.FgHiGreen)
Black = color.New(color.FgHiBlack)
Yellow = color.New(color.FgHiYellow)
White = color.New(color.FgHiWhite)
)

// Colored writer coloured messages to the underlying term.
Expand Down

0 comments on commit 9f7600d

Please sign in to comment.