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

[Q] How to reset stdout colors to standard for prebuild hooks #242

Open
evil-shrike opened this issue May 2, 2023 · 0 comments
Open

[Q] How to reset stdout colors to standard for prebuild hooks #242

evil-shrike opened this issue May 2, 2023 · 0 comments

Comments

@evil-shrike
Copy link

Hi.
I can see that all hooks' output are written with overridden colors (gray). It's hard to read. How can i reset colors to white-on-black for all output?
I tried adding tput init and tput setaf 7 && tput setab 0 in my prebuild.sh but it didn't help.
If I output via echo with ANSI (-e) it overrides but I don't want to change all my echo commands.

@evil-shrike evil-shrike changed the title How to reset stdout colors to standard for prebuild hooks [Q] How to reset stdout colors to standard for prebuild hooks May 2, 2023
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

No branches or pull requests

1 participant