diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 205:f86f1e37b504

add cursor request command to the TE
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Jul 2014 08:46:25 -0700
parents 61a90cb1938d
children 561caa2f7c17
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Wed Jul 02 22:20:20 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Thu Jul 03 08:46:25 2014 -0700
@@ -181,26 +181,6 @@
         }
         @Override
         public void write(int b) {
-            if (b == 120) {
-                // special case x for testing
-                setField(17, 44, new char[] { '1', '2' });
-                keyPressed(KEY_TAB, ' ', 0);
-                keyPressed(KEY_TAB, ' ', 0);
-                setField(-1, -1, new char[] { '3', '4' });
-                setField(18, 44, new char[0]);
-                setField(-1, -1, new char[] { '5', '6' });
-                return;
-            }
-            if (b == 121) {
-                // special case y for testing
-                setField(17, 43, new char[0]);
-                return;
-            }
-            if (b == 122) {
-                // special case z for testing
-                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();