Skip to content

Commit d9d86db

Browse files
committed
make the new class public
1 parent a2bcc11 commit d9d86db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readchar/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Library to easily read single chars and key strokes"""
22

33
__version__ = "4.0.4-dev2"
4-
__all__ = ["readchar", "readkey", "key", "config"]
4+
__all__ = ["readchar", "readkey", "ReadChar", "key", "config"]
55

66
from sys import platform
77

@@ -10,9 +10,9 @@
1010

1111
if platform.startswith(("linux", "darwin", "freebsd")):
1212
from . import _posix_key as key
13-
from ._posix_read import readchar, readkey
13+
from ._posix_read import ReadChar, readchar, readkey
1414
elif platform in ("win32", "cygwin"):
1515
from . import _win_key as key
16-
from ._win_read import readchar, readkey
16+
from ._win_read import ReadChar, readchar, readkey
1717
else:
1818
raise NotImplementedError(f"The platform {platform} is not supported yet")

0 commit comments

Comments
 (0)