Change default behaviour of back key to back

It's still possible to set it to escape using configuration
This commit is contained in:
Fredrik Fornwall
2016-01-19 17:22:57 +01:00
parent 497fc3ecd0
commit 01a1c6de0f

View File

@@ -132,7 +132,7 @@ final class TermuxPreferences {
break;
}
mBackIsEscape = "escape".equals(props.getProperty("back-key", "escape"));
mBackIsEscape = "escape".equals(props.getProperty("back-key", "back"));
} catch (Exception e) {
Toast.makeText(context, "Error loading properties: " + e.getMessage(), Toast.LENGTH_LONG).show();
Log.e("termux", "Error loading props", e);