diff src/com/five_ten_sg/connectbot/transport/TN5250.java @ 43:6b0f1ece1d91 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 09:29:22 -0700
parents 0395ca628303
children 80dcebe51af2
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/TN5250.java	Wed Jun 11 09:14:31 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/transport/TN5250.java	Wed Jun 11 09:29:22 2014 -0700
@@ -63,6 +63,9 @@
         hostmask = Pattern.compile("^([0-9a-z.-]+)(:(\\d+))?$", Pattern.CASE_INSENSITIVE);
     }
 
+    class Terminal5250KeyListener extends TerminalKeyListener {
+
+    };
 
     public TN5250() {
        super();
@@ -308,4 +311,8 @@
         return false;
     }
 
+    public TerminalKeyListener getTerminalKeyListener() {
+        return new Terminal5250KeyListener(manager, bridge, buffer, host.getEncoding());
+    }
+
 }