Skip to content

Commit

Permalink
make the new class public
Browse files Browse the repository at this point in the history
  • Loading branch information
Cube707 committed Nov 6, 2022
1 parent a2bcc11 commit d9d86db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readchar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Library to easily read single chars and key strokes"""

__version__ = "4.0.4-dev2"
__all__ = ["readchar", "readkey", "key", "config"]
__all__ = ["readchar", "readkey", "ReadChar", "key", "config"]

from sys import platform

Expand All @@ -10,9 +10,9 @@

if platform.startswith(("linux", "darwin", "freebsd")):
from . import _posix_key as key
from ._posix_read import readchar, readkey
from ._posix_read import ReadChar, readchar, readkey
elif platform in ("win32", "cygwin"):
from . import _win_key as key
from ._win_read import readchar, readkey
from ._win_read import ReadChar, readchar, readkey
else:
raise NotImplementedError(f"The platform {platform} is not supported yet")

0 comments on commit d9d86db

Please sign in to comment.