Skip to content

Commit 09a7494

Browse files
committed
1 parent c5157c9 commit 09a7494

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

node_modules/supports-color/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
147147
return 3;
148148
}
149149

150+
if (env.TERM === 'xterm-ghostty') {
151+
return 3;
152+
}
153+
154+
if (env.TERM === 'wezterm') {
155+
return 3;
156+
}
157+
150158
if ('TERM_PROGRAM' in env) {
151159
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
152160

node_modules/supports-color/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "supports-color",
3-
"version": "10.0.0",
3+
"version": "10.2.2",
44
"description": "Detect whether a terminal supports color",
55
"license": "MIT",
66
"repository": "chalk/supports-color",

package-lock.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
"semver": "^7.7.2",
144144
"spdx-expression-parse": "^4.0.0",
145145
"ssri": "^12.0.0",
146-
"supports-color": "^10.0.0",
146+
"supports-color": "^10.2.2",
147147
"tar": "^6.2.1",
148148
"text-table": "~0.2.0",
149149
"tiny-relative-date": "^1.3.0",
@@ -13380,7 +13380,9 @@
1338013380
}
1338113381
},
1338213382
"node_modules/supports-color": {
13383-
"version": "10.0.0",
13383+
"version": "10.2.2",
13384+
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-10.2.2.tgz",
13385+
"integrity": "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g==",
1338413386
"inBundle": true,
1338513387
"license": "MIT",
1338613388
"engines": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"semver": "^7.7.2",
111111
"spdx-expression-parse": "^4.0.0",
112112
"ssri": "^12.0.0",
113-
"supports-color": "^10.0.0",
113+
"supports-color": "^10.2.2",
114114
"tar": "^6.2.1",
115115
"text-table": "~0.2.0",
116116
"tiny-relative-date": "^1.3.0",

0 commit comments

Comments
 (0)