diff --git a/index.js b/index.js index 77e2bed..906a6f9 100644 --- a/index.js +++ b/index.js @@ -151,6 +151,10 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) { return 3; } + if (env.TERM === 'wezterm') { + return 3; + } + if ('TERM_PROGRAM' in env) { const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);