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 edge case for multiline truncation on exact max length #53

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

Evertras
Copy link
Owner

Fixes the edge case remaining for #51 where in a multiline string, if the first line was exactly the max width, the extra added character would break the format.

@Evertras
Copy link
Owner Author

Missing out on 0.01% of coverage is fine here because it's just reducing the number of lines of code total.

@Evertras Evertras merged commit 534c809 into main Mar 13, 2022
@Evertras Evertras deleted the fix-multiline-edge-case branch March 13, 2022 12:50
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.

1 participant