summaryrefslogtreecommitdiff
path: root/extensions/console/01_colors.js
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-06-14 16:34:44 -0400
committerGitHub <noreply@github.com>2021-06-14 16:34:44 -0400
commit0acd0602bb087c0d4a938ae09ff42c096e5fb4f2 (patch)
tree03502e5f7efc4e777c0a23295b11ee6be6fdf03e /extensions/console/01_colors.js
parentf4728e26feeb35458a5c903df304fd32702b1f84 (diff)
fix(repl): Fix `undefined` result colour in cmd (#10964)
* fix(repl): Fix `undefined` result colour. * Remove `dim`. Use `gray` instead since it works in cmd.
Diffstat (limited to 'extensions/console/01_colors.js')
-rw-r--r--extensions/console/01_colors.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/console/01_colors.js b/extensions/console/01_colors.js
index 66dcb6e23..d72cd2733 100644
--- a/extensions/console/01_colors.js
+++ b/extensions/console/01_colors.js
@@ -55,10 +55,6 @@
return run(str, code(35, 39));
}
- function dim(str) {
- return run(str, code(2, 22));
- }
-
// https://github.com/chalk/ansi-regex/blob/2b56fb0c7a07108e5b54241e8faec160d393aedb/index.js
const ANSI_PATTERN = new RegExp(
[
@@ -87,7 +83,6 @@
white,
gray,
magenta,
- dim,
stripColor,
maybeColor,
};