Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions color.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const (

// used internally for 256 and 24-bit coloring
foreground
FgDefault
)

// Foreground Hi-Intensity text colors
Expand Down Expand Up @@ -128,6 +129,7 @@ const (

// used internally for 256 and 24-bit coloring
background
BgDefault
)

// Background Hi-Intensity text colors
Expand Down
1 change: 1 addition & 0 deletions color_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func TestColor(t *testing.T) {
text string
code Attribute
}{
{text: "default", code: FgDefault},
{text: "black", code: FgBlack},
{text: "red", code: FgRed},
{text: "green", code: FgGreen},
Expand Down