Skip to content

Commit

Permalink
Merge pull request #2926 from erlang/ts/update-cf-term
Browse files Browse the repository at this point in the history
update vendored cf to support color in foot and ghostty
  • Loading branch information
ferd authored Nov 24, 2024
2 parents 9ca36c6 + dcd0dfc commit f718003
Showing 1 changed file with 3 additions and 36 deletions.
39 changes: 3 additions & 36 deletions vendor/cf/src/cf_term.erl
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ has_color("ecma+color") -> true;
has_color("emu") -> true;
has_color("emx-base") -> true;
has_color("eterm-color") -> true;
has_color("foot") -> true;
has_color("ghostty") -> true;
has_color("gnome") -> true;
has_color("gnome-2007") -> true;
has_color("gnome-2008") -> true;
Expand Down Expand Up @@ -331,40 +333,5 @@ has_color("xnuppc-90x30") -> true;
has_color("xnuppc-b") -> true;
has_color("xnuppc-f") -> true;
has_color("xnuppc-f2") -> true;
has_color("xterm") -> true;
has_color("xterm+256color") -> true;
has_color("xterm+256setaf") -> true;
has_color("xterm+88color") -> true;
has_color("xterm-1002") -> true;
has_color("xterm-1003") -> true;
has_color("xterm-1005") -> true;
has_color("xterm-1006") -> true;
has_color("xterm-16color") -> true;
has_color("xterm-256color") -> true;
has_color("xterm-88color") -> true;
has_color("xterm-8bit") -> true;
has_color("xterm-basic") -> true;
has_color("xterm-color") -> true;
has_color("xterm-hp") -> true;
has_color("xterm-new") -> true;
has_color("xterm-nic") -> true;
has_color("xterm-noapp") -> true;
has_color("xterm-sco") -> true;
has_color("xterm-sun") -> true;
has_color("xterm-utf8") -> true;
has_color("xterm-vt220") -> true;
has_color("xterm-x10mouse") -> true;
has_color("xterm-x11hilite") -> true;
has_color("xterm-x11mouse") -> true;
has_color("xterm-xf86-v32") -> true;
has_color("xterm-xf86-v33") -> true;
has_color("xterm-xf86-v333") -> true;
has_color("xterm-xf86-v40") -> true;
has_color("xterm-xf86-v43") -> true;
has_color("xterm-xf86-v44") -> true;
has_color("xterm-xfree86") -> true;
has_color("xterm-xi") -> true;
has_color("xterm1") -> true;
has_color("xtermc") -> true;
has_color("xterms-sun") -> true;
has_color("xterm" ++ _) -> true;
has_color(_) -> false.

0 comments on commit f718003

Please sign in to comment.