Skip to content

Commit

Permalink
feat: rio is truecolor, xterm is ansi (#174)
Browse files Browse the repository at this point in the history
see charmbracelet/colorprofile#22

Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 authored Dec 11, 2024
1 parent 82936c5 commit 0d230cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion termenv_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ func (o *Output) ColorProfile() Profile {
case
"alacritty",
"contour",
"rio",
"wezterm",
"xterm-ghostty",
"xterm-kitty":
return TrueColor
case "linux":
case "linux", "xterm":
return ANSI
}

Expand Down

0 comments on commit 0d230cb

Please sign in to comment.