Skip to content

Commit 0ce178f

Browse files
tromboneheroCube707
authored andcommitted
os support: FreeBSD
closes #78, closes #46
1 parent a02ef55 commit 0ce178f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

readchar/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
if (
1010
platform.startswith("linux")
1111
or platform == "darwin"
12+
or platform.startswith("freebsd")
1213
):
1314
from ._posix_read import readchar, readkey
1415
elif platform in ("win32", "cygwin"):

readchar/key.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
if (
66
platform.startswith("linux")
77
or platform == "darwin"
8+
or platform.startswith("freebsd")
89
):
910
from ._posix_key import *
1011
elif platform in ("win32", "cygwin"):

0 commit comments

Comments
 (0)