You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pipe mocha | less, ugly color code symbols are showing up:
mocha | less
ESC[0mESC[0m
ESC[0m regenboogESC[0m
ESC[0m dbESC[0m
^M ESC[32m ✓ESC[0mESC[90m store and retrieve password ESC[0m
ESC[92m ESC[0mESC[32m 1 passingESC[0mESC[90m (17ms)ESC[0m
Good etiquette for command line programs is to hide color codes when a TTY is not attached. jshint and ack behave correctly, for example.
I'm using the following system specs, in case this is an error in my personal configuration.
$ specs mocha node bash os
Specs:
specs 0.8
https://github.com/mcandre/specs#readme
mocha --version
1.21.3
npm --version
1.3.24
node --version
v0.10.25
bash --version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty
The text was updated successfully, but these errors were encountered:
When I pipe
mocha | less
, ugly color code symbols are showing up:Good etiquette for command line programs is to hide color codes when a TTY is not attached.
jshint
andack
behave correctly, for example.I'm using the following system specs, in case this is an error in my personal configuration.
The text was updated successfully, but these errors were encountered: