1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-11-19 06:31:08 +00:00

Temporary fix so lib can be run on windows.

Signed-off-by: Mike Naberezny <mike@naberezny.com>
This commit is contained in:
Oscar Lindberg 2009-04-01 07:16:18 +08:00 committed by Mike Naberezny
parent 7531c2c251
commit b4046663ce

View File

@ -1,7 +1,5 @@
import re import re
import select import select
import termios
import fcntl
import os import os
class AddressParser: class AddressParser:
@ -140,6 +138,8 @@ def getch(stdin):
""" Performs a nonblocking read of one byte from stdin and returns """ Performs a nonblocking read of one byte from stdin and returns
its ordinal value. If no byte is available, 0 is returned. its ordinal value. If no byte is available, 0 is returned.
""" """
import termios
import fcntl
fd = stdin.fileno() fd = stdin.fileno()