diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 150:83bb2734b14c

more setfield testing
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 08:08:51 -0700
parents 69333ca1563c
children 026f5b85bd63
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Sun Jun 22 13:04:37 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Mon Jun 23 08:08:51 2014 -0700
@@ -176,6 +176,10 @@
                 setField(-1, -1, new char[] { '6', '5' });
                 return;
             }
+            if (b == 122) {
+                // special case z for testing
+                setField(17, 40, new char[0]);
+            }
             if (controls.containsKey(b)) keyPressed(controls.get(b), ' ', 0);
             else                         screen52.sendKeys(new String(new byte[] {(byte)b}));
         }