Skip to content

Commit

Permalink
Add support for VT220 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alhadis authored and sindresorhus committed Aug 20, 2018
1 parent bcd82c9 commit ed0fe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function supportsColor(stream) {
return 2;
}

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

Expand Down

0 comments on commit ed0fe39

Please sign in to comment.