Skip to content

Commit

Permalink
tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolony committed Feb 7, 2016
1 parent f65bc8b commit e117e0f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/com/bytezone/dm3270/commands/WriteCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,14 @@ public void process (Screen screen)
// screen.lockKeyboard ("Inhibit");
boolean screenDrawRequired = false;

if (eraseWrite)
screen
.setCurrentScreen (alternate ? ScreenOption.ALTERNATE : ScreenOption.DEFAULT);

if (eraseWrite)
{
screen.setCurrentScreen (alternate ? ScreenOption.ALTERNATE : ScreenOption.DEFAULT);
screen.lockKeyboard ("Erase Write");
screen.clearScreen (); // resets pen
}
else
screen.lockKeyboard ("Write");
// screen.getPen ().moveTo (0);

if (orders.size () > 0)
{
Expand Down

0 comments on commit e117e0f

Please sign in to comment.