Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/Screen5250.java @ 208:561caa2f7c17
more testing on cursor movement
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Jul 2014 19:34:07 -0700 |
parents | 81f9ba83c0e9 |
children | 071eccdff8ea |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java Thu Jul 03 09:00:23 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/Screen5250.java Thu Jul 03 19:34:07 2014 -0700 @@ -2660,16 +2660,8 @@ ScreenField cf; if (l >= 0) { - int position = l * numCols + c; - if (!isInField(position, true)) { - lastPos = position; - while (!isInField()) advancePos(); - cf = screenFields.getCurrentField(); - lastPos = cf.getStartPos(); - } - else { - lastPos = position; - } + lastPos = l * numCols + c; + while (!isInField()) advancePos(); setDirty(lastPos); fireCursorChanged(); }