Skip to content

Commit 9c87c76

Browse files
Fixed: Fix wrong input type selected if toolbar is switched back to extra keys after tapping terminal if in text input mode
Closes termux#2503
1 parent ad89887 commit 9c87c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/termux/app/terminal/TermuxTerminalViewClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public boolean shouldUseCtrlSpaceWorkaround() {
222222

223223
@Override
224224
public boolean isTerminalViewSelected() {
225-
return mActivity.getTerminalToolbarViewPager() == null || mActivity.isTerminalViewSelected();
225+
return mActivity.getTerminalToolbarViewPager() == null || mActivity.isTerminalViewSelected() || mActivity.getTerminalView().hasFocus();
226226
}
227227

228228

0 commit comments

Comments
 (0)