Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/tn5250/Screen5250.java @ 424:09c1d3aae3f0
updateDirty before testChanged, try to eliminate sending duplicate screenChanged to the monitor
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 31 Oct 2014 12:40:09 -0700 |
parents | 76efe8fa29b9 |
children | b284b8f9e535 |
comparison
equal
deleted
inserted
replaced
423:76efe8fa29b9 | 424:09c1d3aae3f0 |
---|---|
3448 private char[] xx_pending = new char[2048]; | 3448 private char[] xx_pending = new char[2048]; |
3449 | 3449 |
3450 private void xx_flush() { | 3450 private void xx_flush() { |
3451 if (xx_length > 0) { | 3451 if (xx_length > 0) { |
3452 char[] p = new char[xx_length]; | 3452 char[] p = new char[xx_length]; |
3453 System.arraycopy(xx_pending, 0, p, xx_length); | 3453 System.arraycopy(xx_pending, 0, p, 0, xx_length); |
3454 Log.i(TAG, String.format("row %d col %d %s", getRow(xx_position), getCol(xx_position), new String(p))); | 3454 Log.i(TAG, String.format("row %d col %d %s", getRow(xx_position), getCol(xx_position), new String(p))); |
3455 } | 3455 } |
3456 xx_length = 0; | 3456 xx_length = 0; |
3457 } | 3457 } |
3458 | 3458 |