# HG changeset patch # User Carl Byington # Date 1403573148 25200 # Node ID 269de016813d0c837e708bb05965a28c2f22df02 # Parent 4e1e1a6ee9f902034e7b2280860929eaafe856d6 allow button shortcuts to see key up/down, so the monitor key can toggle properly diff -r 4e1e1a6ee9f9 -r 269de016813d src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java --- 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) {