Change VolumeUp+H to generate ~

Using VolumeUp+H to generate a tilde (~) is more useful than
sending the home key.

Fixes #151.
This commit is contained in:
Fredrik Fornwall 2016-09-16 23:15:27 +02:00
parent e169af0447
commit 7e1f8a551f
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public final class TermuxKeyListener implements TerminalKeyListener {
resultingKeyCode = KeyEvent.KEYCODE_INSERT;
break;
case 'h':
resultingKeyCode = KeyEvent.KEYCODE_MOVE_HOME;
resultingCodePoint = '~';
break;
// Special characters to input.