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

Restore colors when TERM is unset #711

Merged
merged 1 commit into from
Jan 27, 2020
Merged

Restore colors when TERM is unset #711

merged 1 commit into from
Jan 27, 2020

Conversation

tpope
Copy link
Contributor

@tpope tpope commented Jan 27, 2020

🌈

When I added this behavior, I wasn't taking Windows into account. My inspiration Git handles it by defaulting TERM on Windows, but Ruby has no such equivalent. I don't think TERM will ever be missing on UNIX under normal tty circumstances, so I think it's safe to drop the guard on all platforms.

Thanks for your patience!

When I added this behavior, I wasn't taking Windows into account.
@rafaelfranca rafaelfranca merged commit 2899621 into rails:master Jan 27, 2020
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.

2 participants