question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iPadOS: Ctrl + C doesn't kill running process

See original GitHub issue

ctrl + c keyboard shortcut/combination does not kill running process on iPad.

Details

  • Browser and browser version: Chrome 87.0.4280.77
  • OS version: iPadOS 14.5 (18E5164h)
  • xterm.js version: 4.10.0

Steps to reproduce

  1. Start demo in xterm.js with yarn start
  2. Expose port (to access from iPad) with ngrok: ngrok http 3000
  3. Open ngrok URL on iPad
  4. Start a running process i.e. npm start on a create-react-app
  5. After it starts and is running, try to kill process with ctrl + c on iPad

Expected

Keyboard shortcut kills process.

Actual

Enters new line. See recording:

https://user-images.githubusercontent.com/3806031/110397796-c614c400-802f-11eb-8372-22cb17fc3ee7.MP4

Related

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Tyriarcommented, Mar 11, 2021

@springhack seems like a bug in Safari as well if it’s returning the key code for enter, but regardless moving to ctrlKey/altKey/shiftKey seems like the right thing to do.

1reaction
Tyriarcommented, Oct 19, 2021

Closing in favor of https://github.com/xtermjs/xterm.js/issues/1862 as that’s about removing the keyCode usage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

iPadOS: Ctrl + C in terminal doesn't kill running process · Issue ...
Description Hitting ctrl + c with the terminal focused and a process running (i.e. yarn start in a React app) does not kill...
Read more >
control-C doesn't work in Terminal? - Apple Community
This command will trap a ctrl-c and not kill the program. You quit out of "less" (or a man page) by typing the...
Read more >
What to do when Ctrl-C won't kill running job? - Ask Ubuntu
Try to replace the copy shortcut to CTRL + SHIFT + C . Changing copy shortcut is irrelevant to force a process to...
Read more >
Fixed Universal Control Not Working Between Mac and iPad ...
Universal Control Not Working on M1/Intel Mac, MacOS 13 Ventura or macOS Monterey, iPadOS 16? Read along the troubleshoot to fix cannot access...
Read more >
PSA: Fixing Universal Control if it doesn't work for you - Reddit
iPadOS : Settings>General>AirPlay & Handoff>Handoff (toggle on). Universal Control must be enabled on macOS: System Preferences>Displays> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found