Skip to content

Commit

Permalink
feat: ghostty is truecolor
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jan 9, 2024
1 parent b08dd78 commit 4ff713e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ termenv.DisableBracketedPaste()

### Color Support

- 24-bit (RGB): alacritty, foot, iTerm, kitty, Konsole, st, tmux, vte-based, wezterm, Windows Terminal
- 24-bit (RGB): alacritty, foot, iTerm, kitty, Konsole, st, tmux, vte-based, wezterm, Ghostty, Windows Terminal
- 8-bit (256): rxvt, screen, xterm, Apple Terminal
- 4-bit (16): Linux Console

Expand Down
2 changes: 1 addition & 1 deletion termenv_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (o *Output) ColorProfile() Profile {
}

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

0 comments on commit 4ff713e

Please sign in to comment.