From ed0fe39d600ff1c286b3948abbef88eaef4f8f27 Mon Sep 17 00:00:00 2001 From: John Gardner Date: Mon, 20 Aug 2018 14:26:53 +1000 Subject: [PATCH] Add support for VT220 (#83) --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 62d14de..1704131 100644 --- a/index.js +++ b/index.js @@ -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; }