-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
iPadOS: Ctrl + C doesn't kill running process #3248
Comments
We just worked around this in vscode, it's not the best fix because there's some bug in xterm.js causing this to happen, we just don't have an iPad to get to the bottom of it. |
@Tyriar I'm not super familiar with the xterm.js codebase, but I do have an iPad and motivation to help. I'd be happy to pitch in with some guidance! |
I found this problem recently, it just because safari iOS report keyCode 13 while pressing ctrl-c; I suggest just use property key but keyCode of KeyboardEvent, then resolve this problem. MDN Link: https://developer.mozilla.org/zh-CN/docs/Web/API/KeyboardEvent/keyCode |
@springhack seems like a bug in Safari as well if it's returning the key code for enter, but regardless moving to |
Closing in favor of #1862 as that's about removing the keyCode usage. |
ctrl + c
keyboard shortcut/combination does not kill running process on iPad.Details
Steps to reproduce
xterm.js
withyarn start
ngrok http 3000
npm start
on a create-react-appctrl + c
on iPadExpected
Keyboard shortcut kills process.
Actual
Enters new line. See recording:
RPReplay_Final1615247724.MP4
Related
The text was updated successfully, but these errors were encountered: