Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 209:53f66625d618
more testing on cursor movement
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Jul 2014 19:54:05 -0700 |
parents | 561caa2f7c17 |
children | 4ecd8a39afb3 |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java Thu Jul 03 19:34:07 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java Thu Jul 03 19:54:05 2014 -0700 @@ -181,6 +181,7 @@ } @Override public void write(int b) { + /* if (b == 120) { // special case x for testing setField(17, 40, new char[] { '1', '2' }); @@ -200,6 +201,7 @@ setField(17, 41, new char[0]); return; } + */ if (controls.containsKey(b)) keyPressed(controls.get(b), ' ', 0); else screen52.sendKeys(new String(new byte[] {(byte)b})); testChanged();