Skip to content

Commit 1f4eca4

Browse files
committed
fix(export): handle 16777217th color
1 parent 392bf79 commit 1f4eca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/color/color.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
//go:generate go run colorsgen.go
88

99
func GetColor(c vt10x.Color) string {
10-
if c == vt10x.DefaultFG {
10+
if c >= 1<<24 {
1111
return colors[int(vt10x.LightGrey)]
1212
}
1313

0 commit comments

Comments
 (0)