# HG changeset patch # User Carl Byington # Date 1402935562 25200 # Node ID 49bda8001175ceea7a179903721157aba44831c9 # Parent ab8d2f6c58478f05d6e7bc7331346b5d77f1b7da don't display attribute characters diff -r ab8d2f6c5847 -r 49bda8001175 src/org/tn5250j/framework/tn5250/Screen5250.java --- a/src/org/tn5250j/framework/tn5250/Screen5250.java Mon Jun 16 09:10:46 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/Screen5250.java Mon Jun 16 09:19:22 2014 -0700 @@ -3845,6 +3845,7 @@ char ch = planes.getChar(p); char co = planes.getCharColor(p); char at = planes.getCharExtended(p); + boolean ia = planes.isAttributePlace(p); if (ch < ' ') ch = ' '; int bg = vt320color[(int)((co >> 8) & 0x0f)]; int fg = vt320color[(int)(co & 0x0f)]; @@ -3852,7 +3853,7 @@ int nd = (int)(at & EXTENDED_5250_NON_DSP); int vt_attr = (fg << VDUBuffer.COLOR_FG_SHIFT) + (bg << VDUBuffer.COLOR_BG_SHIFT); if (ul > 0) vt_attr |= VDUBuffer.UNDERLINE; - if (nd > 0) vt_attr |= VDUBuffer.INVISIBLE; + if (ia || (nd > 0)) vt_attr |= VDUBuffer.INVISIBLE; buffer.putChar(c, r, ch, vt_attr); } }