@lazyobject
def SetConsoleScreenBufferSize():
 scsbs = ctypes.windll.kernel32.SetConsoleScreenBufferSize
 scsbs.errcheck = check_zero
 scsbs.argtypes = (HANDLE, COORD)
 scsbs.restype = BOOL
 return scsbs

@ lazyobject def SetConsoleScreenBufferSize ( ) : scsbs = ctypes . windll . kernel32 . SetConsoleScreenBufferSize scsbs . errcheck = check_zero scsbs . argtypes = ( HANDLE , COORD ) scsbs . restype = BOOL return scsbs
set screen buffer dimensions .