Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 71:7ae9b0c382ec tn5250
use 5250 encryption config entry
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 13 Jun 2014 19:13:05 -0700 |
parents | 294435151b0c |
children | 8f23b05a51f7 |
comparison
equal
deleted
inserted
replaced
70:c56032728742 | 71:7ae9b0c382ec |
---|---|
150 @Override | 150 @Override |
151 public void keyPressed(int keyCode, char keyChar, int modifiers) { | 151 public void keyPressed(int keyCode, char keyChar, int modifiers) { |
152 if (mnemonics.containsKey(keyCode)) { | 152 if (mnemonics.containsKey(keyCode)) { |
153 String s = mnemonics.get(keyCode); | 153 String s = mnemonics.get(keyCode); |
154 if (s != "") { | 154 if (s != "") { |
155 if (bridge.monitor != null) bridge.monitor.hostData(s); | 155 if (bridge.monitor != null) bridge.monitor.hostData(s.getBytes()); |
156 screen52.sendKeys(s); | 156 screen52.sendKeys(s); |
157 } | 157 } |
158 } | 158 } |
159 } | 159 } |
160 // 5250 writing to the screen | 160 // 5250 writing to the screen |