mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-25 03:39:44 +01:00
Fix Ctrl+/ to send same as Ctrl+_
This commit is contained in:
parent
7e2cbd969a
commit
9d7ed21f27
1 changed files with 3 additions and 1 deletions
|
|
@ -664,7 +664,9 @@ public final class TerminalView extends View {
|
|||
codePoint = 29;
|
||||
} else if (codePoint == '^' || codePoint == '6') {
|
||||
codePoint = 30; // control-^
|
||||
} else if (codePoint == '_' || codePoint == '7') {
|
||||
} else if (codePoint == '_' || codePoint == '7' || codePoint == '/') {
|
||||
// "Ctrl-/ sends 0x1f which is equivalent of Ctrl-_ since the days of VT102"
|
||||
// - http://apple.stackexchange.com/questions/24261/how-do-i-send-c-that-is-control-slash-to-the-terminal
|
||||
codePoint = 31;
|
||||
} else if (codePoint == '8') {
|
||||
codePoint = 127; // DEL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue