Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable ANSI escape codes if not tty #182

Open
connorjclark opened this issue Jun 28, 2018 · 1 comment
Open

disable ANSI escape codes if not tty #182

connorjclark opened this issue Jun 28, 2018 · 1 comment
Labels

Comments

@connorjclark
Copy link

Would be nice if running pwmetrics in a non-tty environment suppressed ANSI code output.

Otherwise, output looks like:

Launching Chrome
  [32m✓[0m Success: [32mRun 1 of 3 finished successfully.[0m
Launching Chrome
  [32m✓[0m Success: [32mRun 2 of 3 finished successfully.[0m
Launching Chrome
  [32m✓[0m Success: [32mRun 3 of 3 finished successfully.[0m
        ☆  Median run  ☆
@denar90
Copy link
Collaborator

denar90 commented Aug 13, 2018

Hope migrating to https://github.com/chalk/chalk can solve this problem.

@denar90 denar90 added the bug label Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants