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

Emotes and Quirks #35

Closed
soko7awen opened this issue May 28, 2021 · 3 comments
Closed

Emotes and Quirks #35

soko7awen opened this issue May 28, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@soko7awen
Copy link

If a quirk changes the letters in an emote, then the emote doesn't work, although not sure how easily fixable that is. Maybe some sort of blacklist for all the emote strings? Still loving the program though!! :DD

@Dpeta
Copy link
Owner

Dpeta commented Jun 24, 2021

That would certainly be something useful to look into :0c

@Dpeta Dpeta added the enhancement New feature or request label Jul 22, 2021
@Dpeta
Copy link
Owner

Dpeta commented Jun 23, 2022

Added an option to exclude emotes from quirks in 2a413dc.

My solution here was basically to:

  1. Make a list of breakable strings (like emotes).
  2. Split the input into non-breakable and breakable.
  3. Run every non-breakable substring individually through the quirk.
  4. Reconstruct the string.

@Dpeta
Copy link
Owner

Dpeta commented Sep 8, 2022

Closing since the exclude option seems to work decently enough

@Dpeta Dpeta closed this as completed Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants