From 0d230cb6eb152b659a6657da6bce9f6b3bcd6523 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 11 Dec 2024 10:16:12 -0300 Subject: [PATCH] feat: rio is truecolor, xterm is ansi (#174) see https://github.com/charmbracelet/colorprofile/pull/22 Signed-off-by: Carlos Alexandro Becker --- termenv_unix.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/termenv_unix.go b/termenv_unix.go index ae96cc3..8e86b10 100644 --- a/termenv_unix.go +++ b/termenv_unix.go @@ -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 }