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

Update I/O handling for better CI output #2

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Update I/O handling for better CI output #2

merged 2 commits into from
Apr 9, 2024

Conversation

shreve
Copy link
Member

@shreve shreve commented Apr 9, 2024

Rich is a really great library for use with CLI tools, but internally it's structured around a terminal. Specifically, the issue is that it requires a width. In the absence of one, it picks 80, which is normally fine, but it makes wide log outputs look really bad and take up more space than they should.

This PR tries to determine if pretty terminal output makes sense, and if it doesn't, it foregoes the use of Rich altogether.

@shreve shreve merged commit cbd186c into main Apr 9, 2024
1 check passed
@shreve shreve deleted the term-io branch April 9, 2024 22:42
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.

1 participant