aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2009-05-09 10:26:08 +0000
committerKenny Root <kenny@the-b.org>2009-05-09 10:26:08 +0000
commitec6d7720278930acf9522c7de83f8316bb99a850 (patch)
tree7a2f5223c9aa23cfe07163ce9cc50397441ed203 /src
parent194c7f8fedab38a944a984730706203c1166be55 (diff)
downloadconnectbot-ec6d7720278930acf9522c7de83f8316bb99a850.tar.gz
connectbot-ec6d7720278930acf9522c7de83f8316bb99a850.tar.bz2
connectbot-ec6d7720278930acf9522c7de83f8316bb99a850.zip
Make Fn (function) keys only work with the right-side shift (or whichever side depending on user-selected preference)
* Fixes the Magic users not being able to type "$" for instance. git-svn-id: https://connectbot.googlecode.com/svn/trunk/connectbot@227 df292f66-193f-0410-a5fc-6d59da041ff2
Diffstat (limited to 'src')
-rw-r--r--src/org/connectbot/service/TerminalBridge.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/connectbot/service/TerminalBridge.java b/src/org/connectbot/service/TerminalBridge.java
index 6963a75..ed1c132 100644
--- a/src/org/connectbot/service/TerminalBridge.java
+++ b/src/org/connectbot/service/TerminalBridge.java
@@ -934,7 +934,7 @@ public class TerminalBridge implements VDUDisplay, OnKeyListener, InteractiveCal
}
// handle pressing f-keys
- if ((curMetaState & KeyEvent.META_SHIFT_ON) != 0) {
+ if ((metaState &= META_TAB) != 0) {
switch(key) {
case '!': ((vt320)buffer).keyPressed(vt320.KEY_F1, ' ', 0); return true;
case '@': ((vt320)buffer).keyPressed(vt320.KEY_F2, ' ', 0); return true;