Skip to content

Commit

Permalink
feat: mark more terminals as truecolor (#171)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 authored Sep 12, 2024
1 parent 98d742f commit 82936c5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion termenv_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ func (o *Output) ColorProfile() Profile {
}

switch term {
case "xterm-kitty", "wezterm", "xterm-ghostty":
case
"alacritty",
"contour",
"wezterm",
"xterm-ghostty",
"xterm-kitty":
return TrueColor
case "linux":
return ANSI
Expand Down

0 comments on commit 82936c5

Please sign in to comment.