Skip to content

Commit

Permalink
Merge pull request #2555 from SirJerric/develop
Browse files Browse the repository at this point in the history
2554 Add unique key codes for special characters
  • Loading branch information
ptrthomas committed May 17, 2024
2 parents e8f105b + 77138d0 commit d169d7f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions karate-core/src/main/java/com/intuit/karate/driver/Keys.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ private static void put(char c, int code, String value) {
CODES.put('X', 88);
CODES.put('Y', 89);
CODES.put('Z', 90);
CODES.put('[', 91);
CODES.put('\\', 92);
CODES.put(']', 93);
CODES.put('a', 97);
CODES.put('b', 98);
CODES.put('c', 99);
Expand Down Expand Up @@ -273,7 +270,15 @@ private static void put(char c, int code, String value) {
CODES.put('>', 160);
CODES.put('{', 161);
CODES.put('}', 162);
CODES.put('~', 171);
CODES.put('|', 172);
CODES.put('%', 175);
CODES.put('^', 176);
CODES.put('?', 191);
CODES.put('`', 192);
CODES.put('[', 219);
CODES.put('\\', 220);
CODES.put(']', 221);
CODES.put('\'', 222);
CODES.put('@', 512);
CODES.put(':', 513);
Expand Down

0 comments on commit d169d7f

Please sign in to comment.