aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/connectbot/service/TerminalBridge.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/org/connectbot/service/TerminalBridge.java b/src/org/connectbot/service/TerminalBridge.java
index 1d69989..1880d26 100644
--- a/src/org/connectbot/service/TerminalBridge.java
+++ b/src/org/connectbot/service/TerminalBridge.java
@@ -492,8 +492,11 @@ public class TerminalBridge implements VDUDisplay, OnKeyListener {
Configuration.HARDKEYBOARDHIDDEN_YES;
// Ignore all key-up events except for the special keys
- if (event.getAction() == KeyEvent.ACTION_UP &&
- hardKeyboard && !hardKeyboardHidden) {
+ if (event.getAction() == KeyEvent.ACTION_UP) {
+ // There's nothing here for virtual keyboard users.
+ if (!hardKeyboard || (hardKeyboard && hardKeyboardHidden))
+ return false;
+
// skip keys if we aren't connected yet or have been disconnected
if (disconnected || transport == null)
return false;