PyConsoleScreenBuffer.SetConsoleDisplayMode

SetConsoleDisplayMode(Flags, NewScreenBufferDimensions)

Sets the display mode of the console buffer

Parameters

Flags : int

CONSOLE_FULLSCREEN_MODE or CONSOLE_WINDOWED_MODE

NewScreenBufferDimensions : PyCOORD

New size of the screen buffer in characters