diff --git a/doc/ipad.md b/doc/ipad.md index deb81d48..514cabc4 100644 --- a/doc/ipad.md +++ b/doc/ipad.md @@ -6,6 +6,7 @@ - [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad) - [Servediter iPad App](#servediter-ipad-app) - [Raspberry Pi USB-C Network](#raspberry-pi-usb-c-network) +- [Ctrl C Workaround](#ctrl-c-workaround) - [Recommendations](#recommendations) - [By 2022 iPad coding more desirable on Arm Macs](#by-2022-ipad-coding-more-desirable-on-arm-macs) @@ -27,6 +28,9 @@ - Alternative: Install line-jump extension and use keyboard to nav by jumping large amount of lines - Alternative: Just use touch scrolling - See [issues tagged with the iPad label](https://github.com/cdr/code-server/issues?q=is%3Aopen+is%3Aissue+label%3AiPad) for more. +- `ctrl+c` does not stop a long-running process in the browser + - Tracking upstream issue here: [#114009](https://github.com/microsoft/vscode/issues/114009) + - See [workaround](#ctrl-c-workaround) ## How to access code-server with a self signed certificate on iPad? @@ -91,6 +95,27 @@ Resources worthy of review: > > -- [Acker Apple](http://github.com/ackerapple/) +## Ctrl C Workaround + +There is currently an issue with `ctrl+c` not stopping a running process in the integrated terminal. We have filed an issue upstream and are tracking [here](https://github.com/microsoft/vscode/issues/114009). As a temporary workaround, it works if you manually define the shortcut like so: + +1. Open Command Palette +2. Look for "Preferences: Open Keyboard Shortcuts (JSON)" +3. Add this: + +```json +{ + "key": "ctrl+c", + "command": "workbench.action.terminal.sendSequence", + "args": { + "text": "\u0003" + }, + "when": "terminalFocus" +} +``` + +Source: [StackOverflow](https://stackoverflow.com/a/52735954/3015595) + ## Recommendations Once you have code-server accessible to your iPad a few things could help save you time: