Skip to content

Commit

Permalink
fix: use ANSI color profile for 16 colors terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Dec 11, 2024
1 parent aeb5ec8 commit aa5a93a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions env.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ func envColorProfile(env map[string]string) (p Profile) {
return
} else if colors >= 0x100 && p > ANSI256 {
p = ANSI256
} else if colors >= 0x10 && p > ANSI {
p = ANSI
}
}
}
Expand Down

0 comments on commit aa5a93a

Please sign in to comment.