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

Make sure that the terminal colors are intact. #45

Closed
wants to merge 2 commits into from
Closed

Make sure that the terminal colors are intact. #45

wants to merge 2 commits into from

Conversation

mateusdigital
Copy link

We're not resetting the terminal colors after printing the output,
so all the "original" colors of the terminal is messed after running
gitcheck.

Printing the reset escape sequence after printing the output let
the colors as it was before. Even if no colors were output the reset
escape code is harmless.

Messy colors:
screen shot 2018-07-31 at 23 04 40

Tidy colors:
screen shot 2018-07-31 at 23 04 55

We're not resetting the terminal colors after printing the output,
so all the "original" colors of the terminal is messed after running
gitcheck.

Printing the reset escape sequence after printing the output let
the colors as it was before. Even if no colors were output the reset
escape code is harmless.
@johnyf
Copy link

johnyf commented Aug 5, 2018

Thanks for addressing #39.

@ghost ghost closed this by deleting the head repository Jun 3, 2024
This pull request was closed.
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