Skip to content

Disable color on non-tty output #21

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

Closed
wants to merge 2 commits into from

Conversation

doctaweeks
Copy link

This fixes a litany of problems that arise from attempting to parse output using other tools (such as diff to compare unit test output between revisions).

@jeremymturner
Copy link

I hacked this file myself. I run direwolf in a tmux session on a Raspberry Pi via SSH, which I attach and disconnect from as needed. The background coloring really screwed with that because it added a white background color only where it printed text.

Just keep everything neutral, no colors by default, and add a flag to add colors (just like ls, grep, etc). Maybe parse out colors from a config file if someone wants them.

@CInsights
Copy link

CInsights commented Aug 15, 2017

We've a few members of our local club running Pi3 "powered by direwolf" 30M IGates now.
Thus far the consensus is that white on black is preferred so all installs have "-t 0" in the startup command.

@wb2osz
Copy link
Owner

wb2osz commented Jul 7, 2019

Similar functionality is now in the "dev" branch and will be in release 1,6.
Thanks for the suggestion.
ca7db91

@wb2osz wb2osz closed this Jul 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants