mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-02 23:21:06 +01:00
Add flags to imeOptions
Add IME_FLAG_NO_ENTER_ACTION and IME_ACTION_NONE. I haven't encountered any issue without them, but specifying them is correct.
This commit is contained in:
parent
fcbc036f92
commit
d12256f5e5
1 changed files with 3 additions and 2 deletions
|
|
@ -238,8 +238,9 @@ public final class TerminalView extends View {
|
|||
// https://github.com/termux/termux-app/issues/137 (japanese chars and TYPE_NULL).
|
||||
outAttrs.inputType = InputType.TYPE_NULL;
|
||||
|
||||
// Let part of the application show behind when in landscape:
|
||||
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_FULLSCREEN;
|
||||
outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_FULLSCREEN |
|
||||
EditorInfo.IME_FLAG_NO_ENTER_ACTION |
|
||||
EditorInfo.IME_ACTION_NONE;
|
||||
|
||||
return new BaseInputConnection(this, true) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue