diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 151:026f5b85bd63

more setfield testing
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 08:34:50 -0700
parents 83bb2734b14c
children be91eb9743fc
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Mon Jun 23 08:08:51 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Mon Jun 23 08:34:50 2014 -0700
@@ -127,7 +127,7 @@
             mnemonics.put(KEY_NUMPAD9     , "9");
             mnemonics.put(KEY_DECIMAL     , ".");
             mnemonics.put(KEY_ADD         , "+");
-            mnemonics.put(KEY_ESCAPE      , "");
+            mnemonics.put(KEY_ESCAPE      , "[reset]");
             mnemonics.put(KEY_TAB         , "[tab]");
         }
 
@@ -179,6 +179,7 @@
             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}));