From 80ece696d3d21f598df1cbde7e014c00254d098e Mon Sep 17 00:00:00 2001 From: Quentin Quaadgras Date: Fri, 17 Nov 2023 21:36:27 +1300 Subject: [PATCH 1/2] Update termux information on how to enable keyboard shortcuts I ran into this issue immediately --- docs/termux.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/termux.md b/docs/termux.md index 82aa995ad918..3914009b1e55 100644 --- a/docs/termux.md +++ b/docs/termux.md @@ -10,6 +10,7 @@ - [Git won't work in `/sdcard`](#git-wont-work-in-sdcard) - [Many extensions including language packs fail to install](#many-extensions-including-language-packs-fail-to-install) - [Extra](#extra) + - [Keyboard Shortcuts and Tab Key](#keyboard-shortcuts-and-tab-key) - [Create a new user](#create-a-new-user) - [Install Go](#install-go) - [Install Python](#install-python) @@ -121,6 +122,16 @@ NODE_OPTIONS="--require /path/to/android-as-linux.js" code-server ## Extra +### Keyboard Shortcuts and Tab Key + +In order to support the tab key and use keyboard shortcuts, add this to your +settings.json: +```json +{ + "keyboard.dispatch": "keyCode" +} +``` + ### Create a new user To create a new user follow these simple steps - From 2fb7800b2843b75d58de37f2083d17793bc080e5 Mon Sep 17 00:00:00 2001 From: Quentin Quaadgras Date: Sat, 18 Nov 2023 11:20:57 +1300 Subject: [PATCH 2/2] Run prettier --- docs/termux.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/termux.md b/docs/termux.md index 3914009b1e55..491f16a4ab63 100644 --- a/docs/termux.md +++ b/docs/termux.md @@ -126,9 +126,10 @@ NODE_OPTIONS="--require /path/to/android-as-linux.js" code-server In order to support the tab key and use keyboard shortcuts, add this to your settings.json: + ```json { - "keyboard.dispatch": "keyCode" + "keyboard.dispatch": "keyCode" } ```