Frontend: reduce the chance of crash
This commit is contained in:
parent
f0122ebd1f
commit
cdc1f1b3b0
@ -786,6 +786,8 @@ public final class TerminalView extends View {
|
||||
+ leftAltDownFromEvent + ")");
|
||||
}
|
||||
|
||||
if (mTermSession == null) return;
|
||||
|
||||
final boolean controlDown = controlDownFromEvent || mClient.readControlKey();
|
||||
final boolean altDown = leftAltDownFromEvent || mClient.readAltKey();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user