Skip to content

Commit c86ec27

Browse files
tromboneheroCube707
authored andcommitted
os support: FreeBSD
closes #78, closes #46
1 parent 7c39b51 commit c86ec27

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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)