From 23f38dc4102fce17c5d9b3be06e9ce962801f061 Mon Sep 17 00:00:00 2001 From: Jan Wille Date: Sun, 11 Aug 2024 17:14:34 +0200 Subject: [PATCH] fix: windows sequence start chars are `\x00\xe0` --- readchar/_win_read.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readchar/_win_read.py b/readchar/_win_read.py index d742170..9dddbb0 100644 --- a/readchar/_win_read.py +++ b/readchar/_win_read.py @@ -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: