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

Avoid duplication of length 1 vecs when width set using ansi_collapse() - #590 #719

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

rundel
Copy link
Contributor

@rundel rundel commented Aug 15, 2024

Resolves #590 - collapse_head() did not have a separate case for lnx == 1 which was causing this issue.

@gaborcsardi
Copy link
Member

Thank you, perfect!

@gaborcsardi gaborcsardi merged commit 175c746 into r-lib:main Aug 28, 2024
11 checks passed
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.

ansi_collapse() with 1 element prints it twice if both width and style = "head" are set
2 participants