mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-05 16:41:10 +01:00
Change shortcuts from Ctrl+Shift to Ctrl+Alt
This works on more language layouts and devices. Fixes #145.
This commit is contained in:
parent
a2cb3fafee
commit
e169af0447
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ public final class TermuxKeyListener implements TerminalKeyListener {
|
||||||
if (keyCode == KeyEvent.KEYCODE_ENTER && !currentSession.isRunning()) {
|
if (keyCode == KeyEvent.KEYCODE_ENTER && !currentSession.isRunning()) {
|
||||||
mActivity.removeFinishedSession(currentSession);
|
mActivity.removeFinishedSession(currentSession);
|
||||||
return true;
|
return true;
|
||||||
} else if (e.isCtrlPressed() && e.isShiftPressed()) {
|
} else if (e.isCtrlPressed() && e.isAltPressed()) {
|
||||||
// Get the unmodified code point:
|
// Get the unmodified code point:
|
||||||
int unicodeChar = e.getUnicodeChar(0);
|
int unicodeChar = e.getUnicodeChar(0);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue