mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 11:09:49 +08:00
Fixed: Fix terminal cursor blinker not stopping when typing a character in non-gboard keyboards
This commit is contained in:
@@ -764,6 +764,10 @@ public final class TerminalView extends View {
|
|||||||
|
|
||||||
if (mTermSession == null) return;
|
if (mTermSession == null) return;
|
||||||
|
|
||||||
|
// Ensure cursor is shown when a key is pressed down like long hold on (arrow) keys
|
||||||
|
if (mEmulator != null)
|
||||||
|
mEmulator.setCursorBlinkState(true);
|
||||||
|
|
||||||
final boolean controlDown = controlDownFromEvent || mClient.readControlKey();
|
final boolean controlDown = controlDownFromEvent || mClient.readControlKey();
|
||||||
final boolean altDown = leftAltDownFromEvent || mClient.readAltKey();
|
final boolean altDown = leftAltDownFromEvent || mClient.readAltKey();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user