changeset 164:be91eb9743fc

remove setfield debugging
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 12:39:26 -0700
parents 490bae26d3a2
children 924523c03ca7
files src/com/five_ten_sg/connectbot/transport/TN5250.java
diffstat 1 files changed, 0 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Tue Jun 24 08:18:26 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Tue Jun 24 12:39:26 2014 -0700
@@ -155,32 +155,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, 44, new char[0]);
-                setField(-1, -1, new char[] { '2', '1' });
-                keyPressed(KEY_TAB, ' ', 0);
-                keyPressed(KEY_TAB, ' ', 0);
-                setField(-1, -1, new char[] { '4', '3' });
-                setField(18, 44, new char[0]);
-                setField(-1, -1, new char[] { '6', '5' });
-                return;
-            }
-            if (b == 122) {
-                // special case z for testing
-                setField(17, 40, new char[0]);
-                return;
-            }
             if (controls.containsKey(b)) keyPressed(controls.get(b), ' ', 0);
             else                         screen52.sendKeys(new String(new byte[] {(byte)b}));
         }