We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc0f62 commit a02ef55Copy full SHA for a02ef55
readchar/__init__.py
@@ -6,7 +6,10 @@
6
from sys import platform
7
8
9
-if platform.startswith("linux"):
+if (
10
+ platform.startswith("linux")
11
+ or platform == "darwin"
12
+):
13
from ._posix_read import readchar, readkey
14
elif platform in ("win32", "cygwin"):
15
from ._win_read import readchar, readkey
readchar/key.py
@@ -2,7 +2,10 @@
2
3
from . import platform
4
5
from ._posix_key import *
from ._win_key import *
0 commit comments