Skip to content

Commit dcd0dfc

Browse files
committed
update vendored cf to support color in foot and ghostty
1 parent 9ca36c6 commit dcd0dfc

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

vendor/cf/src/cf_term.erl

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ has_color("ecma+color") -> true;
8888
has_color("emu") -> true;
8989
has_color("emx-base") -> true;
9090
has_color("eterm-color") -> true;
91+
has_color("foot") -> true;
92+
has_color("ghostty") -> true;
9193
has_color("gnome") -> true;
9294
has_color("gnome-2007") -> true;
9395
has_color("gnome-2008") -> true;
@@ -331,40 +333,5 @@ has_color("xnuppc-90x30") -> true;
331333
has_color("xnuppc-b") -> true;
332334
has_color("xnuppc-f") -> true;
333335
has_color("xnuppc-f2") -> true;
334-
has_color("xterm") -> true;
335-
has_color("xterm+256color") -> true;
336-
has_color("xterm+256setaf") -> true;
337-
has_color("xterm+88color") -> true;
338-
has_color("xterm-1002") -> true;
339-
has_color("xterm-1003") -> true;
340-
has_color("xterm-1005") -> true;
341-
has_color("xterm-1006") -> true;
342-
has_color("xterm-16color") -> true;
343-
has_color("xterm-256color") -> true;
344-
has_color("xterm-88color") -> true;
345-
has_color("xterm-8bit") -> true;
346-
has_color("xterm-basic") -> true;
347-
has_color("xterm-color") -> true;
348-
has_color("xterm-hp") -> true;
349-
has_color("xterm-new") -> true;
350-
has_color("xterm-nic") -> true;
351-
has_color("xterm-noapp") -> true;
352-
has_color("xterm-sco") -> true;
353-
has_color("xterm-sun") -> true;
354-
has_color("xterm-utf8") -> true;
355-
has_color("xterm-vt220") -> true;
356-
has_color("xterm-x10mouse") -> true;
357-
has_color("xterm-x11hilite") -> true;
358-
has_color("xterm-x11mouse") -> true;
359-
has_color("xterm-xf86-v32") -> true;
360-
has_color("xterm-xf86-v33") -> true;
361-
has_color("xterm-xf86-v333") -> true;
362-
has_color("xterm-xf86-v40") -> true;
363-
has_color("xterm-xf86-v43") -> true;
364-
has_color("xterm-xf86-v44") -> true;
365-
has_color("xterm-xfree86") -> true;
366-
has_color("xterm-xi") -> true;
367-
has_color("xterm1") -> true;
368-
has_color("xtermc") -> true;
369-
has_color("xterms-sun") -> true;
336+
has_color("xterm" ++ _) -> true;
370337
has_color(_) -> false.

0 commit comments

Comments
 (0)