mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 10:45:23 +08:00
Change shortcuts from Ctrl+Shift to Ctrl+Alt
This works on more language layouts and devices. Fixes #145.
This commit is contained in:
@@ -61,7 +61,7 @@ public final class TermuxKeyListener implements TerminalKeyListener {
|
||||
if (keyCode == KeyEvent.KEYCODE_ENTER && !currentSession.isRunning()) {
|
||||
mActivity.removeFinishedSession(currentSession);
|
||||
return true;
|
||||
} else if (e.isCtrlPressed() && e.isShiftPressed()) {
|
||||
} else if (e.isCtrlPressed() && e.isAltPressed()) {
|
||||
// Get the unmodified code point:
|
||||
int unicodeChar = e.getUnicodeChar(0);
|
||||
|
||||
|
Reference in New Issue
Block a user