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: double ellipsis in reply #5174

Merged
merged 4 commits into from
Feb 18, 2024
Merged

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Feb 14, 2024

When replying to messages containing emojis (often at the end), there can be cases where two ellipses are added to the reply text (when the window is sized [in-]correctly). The following message has this property:

my silly little text to test overflow of messages in Chatterino 🍎 🍌 🥒 🍩 🍆 🧆 🍇 🍔 🍦

The break we had, only breaks the inner loop, so I added a flag to break the outer loop too, since we can't break on the outer loop without g*to.

While doing that, I noticed the ellipsis for emojis wasn't using the Unicode character, so I fixed that.

@pajlada pajlada merged commit cd0387b into Chatterino:master Feb 18, 2024
17 checks passed
@Nerixyz Nerixyz deleted the fix/reply-dotdotdot branch February 18, 2024 18:26
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.

None yet

2 participants