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

Allow emojis in reactions #354

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Allow emojis in reactions #354

merged 1 commit into from
Mar 30, 2022

Conversation

tleb
Copy link
Contributor

@tleb tleb commented Mar 25, 2022

Copy-pasted the extract from SendMessageHTML that does the same thing. This patch has not been tested yet as I do not have a Go development environment accessible currently. I will do so in the upcoming days.

My doubts would be about whether this transformation should come before or after the debug printing. Any opinions?

Thanks for gomuks, it has been really enjoyable to use!

Copy link
Owner

@tulir tulir left a comment

Choose a reason for hiding this comment

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

Note that the intended way is to tab complete emojis, but I guess it's fine to add an option to convert when typing the whole name too

@tulir tulir merged commit 31e87b5 into tulir:master Mar 30, 2022
@tleb
Copy link
Contributor Author

tleb commented Mar 30, 2022

This makes it faster to type emojis whose complete name is the prefix to other emojis. Take :heart for example, which autocompletes to :heart:, :heart_decoration:, :heart_exclamation: and many others. This patch saves one tab key-press.

I must confess I did not notice emoji auto-completion before your comment, which is why I sent this patch.

@tulir tulir mentioned this pull request Apr 15, 2022
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