Mercurial > 510Connectbot
comparison src/org/tn5250j/framework/tn5250/Screen5250.java @ 60:d9b27288a9d2 tn5250
start tn5250 integration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 11 Jun 2014 15:44:59 -0700 |
parents | 79aaf30947e2 |
children | 294435151b0c |
comparison
equal
deleted
inserted
replaced
59:228273d69ca4 | 60:d9b27288a9d2 |
---|---|
3804 */ | 3804 */ |
3805 private void fireScreenChanged(int startRow, int startCol, int endRow, int endCol) { | 3805 private void fireScreenChanged(int startRow, int startCol, int endRow, int endCol) { |
3806 for (int r = startRow; r <= endRow; r++) { | 3806 for (int r = startRow; r <= endRow; r++) { |
3807 for (int c = startCol; c <= endCol; c++) { | 3807 for (int c = startCol; c <= endCol; c++) { |
3808 char ch = planes.getChar(getPos(r,c)); | 3808 char ch = planes.getChar(getPos(r,c)); |
3809 int x = (int)ch; | 3809 if (ch < ' ') ch = ' '; |
3810 buffer.putChar(c, r, ch, 0); | 3810 buffer.putChar(c, r, ch, 0); |
3811 } | 3811 } |
3812 } | 3812 } |
3813 buffer.redrawPassthru(); | 3813 buffer.redrawPassthru(); |
3814 dirtyScreen.setBounds(lenScreen,0,0,0); | 3814 dirtyScreen.setBounds(lenScreen,0,0,0); |