Skip to content

Commit

Permalink
fix: windows sequence start chars are \x00\xe0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube707 committed Aug 11, 2024
1 parent 9061573 commit 23f38dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readchar/_win_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def readkey() -> str:
raise KeyboardInterrupt

# if it is a normal character:
if ch not in "\x00\xc3\xa0":
if ch not in "\x00\xe0":
return ch

# if it is a scpeal key, read second half:
Expand Down

0 comments on commit 23f38dc

Please sign in to comment.