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

Remove Message Wrapping Offset Introduced by PR #239 #243

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

andymandias
Copy link
Collaborator

With the commits added in #239 I forgot to account for each selectable_text being used for text wrapping. So when wrapping a message, the first line is indented by a space but none of the following lines are indented. This PR removes the offset by moving the space between the username and message to its own selectable_text. All the style changes are from rustfmt.

Copy link
Member

@casperstorm casperstorm left a comment

Choose a reason for hiding this comment

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

Thanks @andymandias!

@casperstorm casperstorm merged commit 8d98e71 into squidowl:main Mar 1, 2024
1 check passed
@andymandias andymandias deleted the message-wrapping-fix branch March 1, 2024 22:09
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.

2 participants