Skip to content

Commit ed0fe39

Browse files
Alhadissindresorhus
authored andcommitted
Add support for VT220 (#83)
1 parent bcd82c9 commit ed0fe39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function supportsColor(stream) {
104104
return 2;
105105
}
106106

107-
if (/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
107+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
108108
return 1;
109109
}
110110

0 commit comments

Comments
 (0)