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

Add --color=auto/always/never #137

Open
cblp opened this issue Mar 19, 2019 · 4 comments
Open

Add --color=auto/always/never #137

cblp opened this issue Mar 19, 2019 · 4 comments

Comments

@cblp
Copy link
Member

cblp commented Mar 19, 2019

As in git

Also, check terminal detection under docker.

always — colorize the output unconditionally
never — do not colorize the output
auto [default] — detect if we are running in a terminal (isatty?) and colorize only if in terminal

@willbasky
Copy link
Contributor

What auto acts?

@cblp
Copy link
Member Author

cblp commented Apr 26, 2019

added to the description

@willbasky
Copy link
Contributor

auto [default] — detect if we are running in a terminal (isatty?) and colorize only if in terminal

Can ff be launched not in terminal?

@cblp
Copy link
Member Author

cblp commented Apr 26, 2019

Yes, when launched from a script or a command, like ff | less, stdout is a pipe, not a terminal (teletype, tty).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants