Skip to content

Restore colors when TERM is unset#711

Merged
rafaelfranca merged 1 commit into
rails:masterfrom
tpope:missing-term
Jan 27, 2020
Merged

Restore colors when TERM is unset#711
rafaelfranca merged 1 commit into
rails:masterfrom
tpope:missing-term

Conversation

@tpope

@tpope tpope commented Jan 27, 2020

Copy link
Copy Markdown
Contributor

🌈

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