Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 186:61a90cb1938d
setfield positions the cursor properly as if the characters were typed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 02 Jul 2014 15:03:06 -0700 |
parents | c51bcf9f0516 |
children | f86f1e37b504 |
comparison
equal
deleted
inserted
replaced
185:c51bcf9f0516 | 186:61a90cb1938d |
---|---|
191 setField(-1, -1, new char[] { '5', '6' }); | 191 setField(-1, -1, new char[] { '5', '6' }); |
192 return; | 192 return; |
193 } | 193 } |
194 if (b == 121) { | 194 if (b == 121) { |
195 // special case y for testing | 195 // special case y for testing |
196 setField(17, 44, new char[0]); | 196 setField(17, 43, new char[0]); |
197 setField(-1, -1, new char[] { '2', '1' }); | |
198 keyPressed(KEY_TAB, ' ', 0); | |
199 keyPressed(KEY_TAB, ' ', 0); | |
200 setField(-1, -1, new char[] { '4', '3' }); | |
201 setField(18, 44, new char[0]); | |
202 setField(-1, -1, new char[] { '6', '5' }); | |
203 return; | 197 return; |
204 } | 198 } |
205 if (b == 122) { | 199 if (b == 122) { |
206 // special case z for testing | 200 // special case z for testing |
207 setField(17, 41, new char[0]); | 201 setField(17, 41, new char[0]); |