Skip to content

Commit

Permalink
Handle PA keys like Clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Downarowicz committed Feb 28, 2022
1 parent 25cedbb commit 9d6359c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/at/downardo/j3270Server/Response.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ public static Response readResponse(BufferedInputStream in, HashMap<Integer, Str

AID _aid = readAID(in);

if(_aid == AIDClass.AID.AIDClear) {
//If the use pressed clear, or a PA key we should return now
if(_aid == AIDClass.AID.AIDClear || _aid == AIDClass.AID.AIDPA1 || _aid == AIDClass.AID.AIDPA2 ||
_aid == AIDClass.AID.AIDPA3) {
return new Response(_aid, 0, 0, null);
}

Expand Down

0 comments on commit 9d6359c

Please sign in to comment.