Skip to content

Commit

Permalink
Update scan codes for arrows on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonatan-lopes committed Oct 21, 2021
1 parent 549c17a commit 48a9177
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readchar/readchar.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
20960: key.PAGE_DOWN,
18400: key.HOME,
20448: key.END,
18656: key.UP,
20704: key.DOWN,
19424: key.LEFT,
19936: key.RIGHT,
18432: key.UP, # 72 * 256
20480: key.DOWN, # 80 * 256
19200: key.LEFT, # 75 * 256
19712: key.RIGHT, # 77 * 256
}

def readkey(getchar_fn=None):
Expand Down

0 comments on commit 48a9177

Please sign in to comment.