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

fix: avoid zerodivisionerrors in no-tty usecase #298

Closed
wants to merge 1 commit into from
Closed

fix: avoid zerodivisionerrors in no-tty usecase #298

wants to merge 1 commit into from

Conversation

TheKevJames
Copy link

Fix for python-poetry/poetry#7184, which discovered that this would
lead to ZeroDivisionErrors as columns will be 0 for Python <3.11
running without a TTY.

Fix for python-poetry/poetry#7184, which discovered that this would
lead to ZeroDivisionErrors as `columns` will be `0` for Python <3.11
running without a TTY.
@neersighted
Copy link
Member

A Cleo maintainer is working on a better fix with test coverage, so this will likely be declined. However, feel free to leave it open until a successor materializes.

@Secrus
Copy link
Member

Secrus commented Jun 14, 2023

Superseded by #299

@Secrus Secrus closed this Jun 14, 2023
@TheKevJames TheKevJames deleted the kjames/fix-nontty branch June 15, 2023 15:23
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.

3 participants