Skip to content

Commit 8f0066b

Browse files
committed
docs: add ctrl c workaround for ipad
1 parent fa548e9 commit 8f0066b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

doc/ipad.md

+25
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)
77
- [Servediter iPad App](#servediter-ipad-app)
88
- [Raspberry Pi USB-C Network](#raspberry-pi-usb-c-network)
9+
- [Ctrl C Workaround](#ctrl-c-workaround)
910
- [Recommendations](#recommendations)
1011
- [By 2022 iPad coding more desirable on Arm Macs](#by-2022-ipad-coding-more-desirable-on-arm-macs)
1112

@@ -27,6 +28,9 @@
2728
- Alternative: Install line-jump extension and use keyboard to nav by jumping large amount of lines
2829
- Alternative: Just use touch scrolling
2930
- See [issues tagged with the iPad label](https://github.com/cdr/code-server/issues?q=is%3Aopen+is%3Aissue+label%3AiPad) for more.
31+
- `ctrl+c` does not stop a long-running process in the browser
32+
- Tracking upstream issue here: [#114009](https://github.com/microsoft/vscode/issues/114009)
33+
- See [workaround](#ctrl-c-workaround)
3034

3135
## How to access code-server with a self signed certificate on iPad?
3236

@@ -91,6 +95,27 @@ Resources worthy of review:
9195
>
9296
> -- <cite>[Acker Apple](http://github.com/ackerapple/)</cite>
9397
98+
## Ctrl C Workaround
99+
100+
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:
101+
102+
1. Open Command Palette
103+
2. Look for "Preferences: Open Keyboard Shortcuts (JSON)"
104+
3. Add this:
105+
106+
```json
107+
{
108+
"key": "ctrl+c",
109+
"command": "workbench.action.terminal.sendSequence",
110+
"args": {
111+
"text": "\u0003"
112+
},
113+
"when": "terminalFocus"
114+
}
115+
```
116+
117+
Source: [StackOverflow](https://stackoverflow.com/a/52735954/3015595)
118+
94119
## Recommendations
95120

96121
Once you have code-server accessible to your iPad a few things could help save you time:

0 commit comments

Comments
 (0)