Commit Graph

10 Commits

Author SHA1 Message Date
Fredrik Fornwall
fa9ea2db5c Do not auto scroll when selecting text 2016-01-13 04:20:36 +01:00
Fredrik Fornwall
54bc1ed791 Do not recognize gestures while selecting text 2016-01-13 03:42:46 +01:00
Fredrik Fornwall
862b461a07 Improve text selection functionality
- Make text selection easier and quicker by selecting text directly on long press, and using standard grip bars for changing the selection.
- Disable the drawer while selecting text.
- Fix problem with selecting snippets of text with wide unicode characters at start and end.
- Remove the "tap-screen" configuration option for a more common show keyboard behaviour when tapping the terminal.
- Do no longer map the back key to escape by default - but it's still possible to do by configuration.
- Add new hardware keyboard shortcut Ctrl+Shift+K for toggling soft keyboard visibility.
2016-01-13 03:01:29 +01:00
Fredrik Fornwall
913c474d32 Input normal ^ even on other unicode char input
Some bluetooth keyboards [1] input U+02C6, the unicode character
MODIFIER LETTER CIRCUMFLEX ACCENT instead of the more common ^
(U+005E CIRCUMFLEX ACCENT). Remap it to the common caret since
that is what terminal programs expect.

[1] https://plus.google.com/100972300636796512022/posts/f7PKpXWesgG
2015-12-30 00:46:08 +01:00
Fredrik Fornwall
657c270d97 Fix error message 2015-12-28 20:49:46 +01:00
Fredrik Fornwall
50005bc794 Fix problem with font and color loading at startup
Using View#post() does not work in onCreate().
2015-12-28 20:47:34 +01:00
Fredrik Fornwall
e006e36dd0 Do not eat escape key events in onKeyPreIme()
The original reason for intercepting the escape key in onKeyPreIme()
was to prevent the escape key as being treated as the Back key before
reaching onKeyDown().

This seems no long necessary, and may mess up handling the ...+1
combination for escape on the Google Pixel C keyboard (see #27).
2015-12-25 21:10:48 +01:00
Fredrik Fornwall
2326c52199 Implement support for termux.properties
Also some symlink-to-storage improvements and experimenting with
requesting read storage permission.
2015-12-23 01:43:41 +01:00
Fredrik Fornwall
f153a72592 TerminalView: Make theming work for non-activities 2015-12-20 14:37:00 +01:00
Fredrik Fornwall
a18ee58f7a Initial commit 2015-10-25 15:27:32 +01:00