Change shortcuts from Ctrl+Shift to Ctrl+Alt

This works on more language layouts and devices.

Fixes #145.
This commit is contained in:
Fredrik Fornwall
2016-09-16 23:12:56 +02:00
parent a2cb3fafee
commit e169af0447

View File

@@ -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);