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

Use atty to omit text coloring and decorations #95

Merged
merged 2 commits into from Oct 10, 2021

Conversation

rlewicki
Copy link
Contributor

@rlewicki rlewicki commented Oct 10, 2021

Use atty library to omit text coloring and decorations when tidy-viewer is not outputting directly to tty.

I've tried to be smart about it and tried using some macros so we could avoid using if statements however print! macro itself didn't like it so I gave up.

This fixes issue #73

@rlewicki rlewicki changed the title Use atty to omit text coloring and decorations fixes #73 Use atty to omit text coloring and decorations fixes Oct 10, 2021
@rlewicki rlewicki changed the title Use atty to omit text coloring and decorations fixes Use atty to omit text coloring and decorations Oct 10, 2021
@alexhallam alexhallam merged commit 1206937 into alexhallam:main Oct 10, 2021
@alexhallam
Copy link
Owner

This is great work! Thanks!

This was referenced Oct 10, 2021
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.

None yet

2 participants