2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

Use explicit imports in ansiterm.py

This commit is contained in:
Thomas Nagy 2013-11-10 05:27:18 +01:00
parent 603af4ce6a
commit 6055744a5f

View File

@ -3,7 +3,7 @@ try:
if not (sys.stderr.isatty() and sys.stdout.isatty()):
raise ValueError('not a tty')
from ctypes import *
from ctypes import Structure, windll, c_short, c_ulong, c_int, byref, c_wchar
class COORD(Structure):
_fields_ = [("X", c_short), ("Y", c_short)]