changeset 40:ecdbff49182c tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 10 Jun 2014 17:26:53 -0700
parents 69bc44954bb5
children 9621ac4dd5eb
files src/com/five_ten_sg/connectbot/service/TerminalBridge.java src/org/tn5250j/framework/tn5250/Screen5250.java
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Tue Jun 10 17:06:53 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Tue Jun 10 17:26:53 2014 -0700
@@ -450,9 +450,6 @@
         setFontSize(fontSize);
         // finally send any post-login string, if requested
         injectString(host.getPostLogin());
-        // force initial full redraw
-        fullRedraw = true;
-        redraw();
     }
 
     /**
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java	Tue Jun 10 17:06:53 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/Screen5250.java	Tue Jun 10 17:26:53 2014 -0700
@@ -3816,6 +3816,7 @@
                 buffer.putChar(c, r, ch, 0);
             }
         }
+        buffer.redraw();
         dirtyScreen.setBounds(lenScreen,0,0,0);
     }