182
182
return (defaultx, defaulty)
184
184
# To avoid problem with redirecting output via pipe
186
186
h = ctypes.windll.kernel32.GetStdHandle(WIN32_STDERR_HANDLE)
187
187
csbi = ctypes.create_string_buffer(22)
188
188
res = ctypes.windll.kernel32.GetConsoleScreenBufferInfo(h, csbi)