Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -5,9 +5,9 @@ import time
|
|||
|
||||
|
||||
try:
|
||||
from msvcrt import getch
|
||||
from msvcrt import getch # try to import Windows version
|
||||
except ImportError:
|
||||
def getch():
|
||||
def getch(): # define non-Windows version
|
||||
import sys, tty, termios
|
||||
fd = sys.stdin.fileno()
|
||||
old_settings = termios.tcgetattr(fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue