Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5cf7af7

Browse files
Remove outdated 256 color workaround.
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 053062f commit 5cf7af7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

‎lib/cli.js‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ var Plugin = require('./plugin');
1212
// global config < local config < cli params
1313
// Color is a tricky one so we manually handle it here.
1414
function initColor() {
15-
// FIXME: delete this hack when supports-color handles it well.
16-
if (process.env.TERM_PROGRAM === 'iTerm.app') chalk.use256 = true;
17-
1815
chalk.enabled = config.USE_COLOR && chalk.enabled;
1916
chalk.init();
2017
chalk.setTheme(config.COLOR_THEME);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /