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

Emoji Fix #3388

Merged
merged 2 commits into from Jan 5, 2019
Merged

Emoji Fix #3388

merged 2 commits into from Jan 5, 2019

Conversation

juancampa
Copy link
Contributor

@juancampa juancampa commented Jan 4, 2019

Problem

cmd+ctrl+space didn't show the emoji dialog

Solution

Stop intercepting this keymapping and let the browser handle it. This makes sense now that we're always using a textarea as our source of input

NOTE: The rest of the changes to make emoji work are on this PR: vercel/xterm.js#6

2019-01-04_16-24

My understanding is that this was needed at some point because we
weren't typing into a textarea. No that we're typing into a textarea the
browser (i.e. Chromium) handles this for us
@@ -45,7 +45,6 @@
"editor:deleteBeginningLine": "command+backspace",
"editor:deleteEndLine": "command+delete",
"editor:clearBuffer": "command+k",
"editor:emojis": "command+ctrl+space",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very nice catch.

@rauchg rauchg merged commit bc2d32b into vercel:canary Jan 5, 2019
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

3 participants