changeset 157:269de016813d

allow button shortcuts to see key up/down, so the monitor key can toggle properly
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 18:25:48 -0700
parents 4e1e1a6ee9f9
children 23badf85abd6
files src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Mon Jun 23 18:23:34 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Mon Jun 23 18:25:48 2014 -0700
@@ -146,7 +146,7 @@
             if (bridge.isDisconnected()) return false;
 
             // short cuts can see repeat counts and key up/down
-            if handleShortcuts(v, event, repeat, (event.getAction() == KeyEvent.ACTION_DOWN) return true;
+            if (handleShortcuts(v, event, repeat, (event.getAction() == KeyEvent.ACTION_DOWN))) return true;
 
             // Ignore all key-up events except for the special keys
             if (event.getAction() == KeyEvent.ACTION_UP) {