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

Don't output download progress when in a non-interactive terminal #135

Merged

Conversation

interstateone
Copy link
Contributor

This change disables download progress output if xcodes isn't running in an interactive terminal. In an interactive terminal xcodes will update the same line with progress from 0-100%. In a non-interactive terminal xcodes used to write 100 separate lines with the ANSI escape codes, and now it'll only print (1/6) Downloading Xcode X.Y.Z once.

This is not the only change that should be made for better support of non-interactive terminals (for example #128, or any other use of readline), but it's a start.

@interstateone interstateone added the enhancement New feature or request label Feb 3, 2021
@interstateone interstateone marked this pull request as ready for review February 18, 2021 03:19
@interstateone interstateone requested a review from a team February 19, 2021 15:02
@interstateone interstateone merged commit 180afed into XcodesOrg:main Feb 24, 2021
@interstateone interstateone deleted the remove-non-interactive-progress branch February 24, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants