comparison src/org/tn5250j/framework/tn5250/Screen5250.java @ 138:e312405090e1

set dirty after cursor movement from setfield()
author Carl Byington <carl@five-ten-sg.com>
date Fri, 20 Jun 2014 15:03:05 -0700
parents bc59a399f627
children c2fa8ae31cfa
comparison
equal deleted inserted replaced
137:37665a94fc39 138:e312405090e1
2687 ScreenField cf; 2687 ScreenField cf;
2688 2688
2689 if (l >= 0) { 2689 if (l >= 0) {
2690 int position = l * numCols + c; 2690 int position = l * numCols + c;
2691 isInField(position, true); 2691 isInField(position, true);
2692 cf = screenFields.getCurrentField();
2693 lastPos = cf.getStartPos();
2694 setDirty(lastPos);
2692 } 2695 }
2693 2696
2694 if ((data != null) && (data.length > 0)) { 2697 if ((data != null) && (data.length > 0)) {
2695 cf = screenFields.getCurrentField(); 2698 cf = screenFields.getCurrentField();
2696 cf.setString(new String(data)); 2699 cf.setString(new String(data));