Skip to content

Commit

Permalink
Fix very long fragmentParts not wrapping in chat render (#424)
Browse files Browse the repository at this point in the history
* Cleanup/simplificaction

* Fix very long non-RTL fragments not wrapping in chatrender

* Wraps now prioritize '?' for better URL readability

* Use LastIndexOf

* Smarter '?' delimiting that's easier to read

* Fix 2 edge cases

* Multiple delimiter support, added '-' to delimiter array

* Fix severe RTL related memory leak

* Additional memory improvements

* add RTL support, correct wrap width with timestamps

* Added delimiter support to RTL

* Clarify function name

* Fix RTL outline

* Fix potential issues with emote wrapping, cleanup

* Protect against index out of bounds while wrapping, cleanup
  • Loading branch information
ScrubN committed Nov 20, 2022
1 parent 5a61247 commit c651784
Showing 1 changed file with 300 additions and 161 deletions.

0 comments on commit c651784

Please sign in to comment.