Skip to content

Commit a8f5bf7

Browse files
committed
Make WezTerm terminal use true color
1 parent 67db246 commit a8f5bf7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/vendor/supports-color/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
139139
return 3;
140140
}
141141

142+
if (env.TERM === 'wezterm') {
143+
return 3;
144+
}
145+
142146
if ('TERM_PROGRAM' in env) {
143147
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
144148

0 commit comments

Comments
 (0)