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

[SR-9647] SwiftPM's redrawing progress animation bugs with small terminal width #4735

Open
hartbit opened this issue Jan 12, 2019 · 0 comments
Assignees
Labels

Comments

@hartbit
Copy link
Collaborator

hartbit commented Jan 12, 2019

Previous ID SR-9647
Radar None
Original Reporter @hartbit
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee @hartbit
Priority Medium

md5: 65a296f4a5d2b96b2d393ce7e4487d33

Issue Description:

SwiftPM's redrawing progress animation bugs when the terminal width is less than the longest progress message. To fix this, the progress should truncate the progress text to fit the width.

A smarter solution would be to allow progress text to be interpolated with data which knows how to show a shorter representation of itself. Like that, we could teach RelativePath and AbstractPath to shorten and get smarter truncation:

[34/45] Compiling Sources/.../Something.swift 

instead of:

[34/45] Compiling Sources/Project/Data/Some... 
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants