mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
extra keys: fix crash when clicking on "empty" (undefined) key
This commit is contained in:
parent
ed8bd4b569
commit
c986a46fb9
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ public final class ExtraKeysView extends GridLayout {
|
|||
} else {
|
||||
// not a control char
|
||||
TerminalSession session = terminalView.getCurrentSession();
|
||||
if (session != null)
|
||||
if (session != null && keyName.length() > 0)
|
||||
session.write(keyName);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue