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

Disable interactive progress display when no terminal size is available #3936

Merged
merged 2 commits into from Feb 19, 2020

Conversation

lukehoban
Copy link
Member

@lukehoban lukehoban commented Feb 19, 2020

It appears there are cases where our IsInteractive heuristics return true, but terminal.GetSize returns an error. In these cases, we should assume we do not have an interactive terminal and avoid trying to render interactive progress by default.

Fixes #3935.

@lukehoban lukehoban changed the title Disable interactive progress display when no terminal size available Disable interactive progress display when no terminal size is available Feb 19, 2020
Copy link
Member

@mikhailshilkov mikhailshilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Panic in display logic when interactive mode is (incorrectly?) inferred in CI
3 participants