Table of Contents

Method SetScreenSize

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

SetScreenSize(int, int)

Sets the screen size for testing purposes. Only supported by FakeDriver. Screen is the source of truth for screen dimensions.

void SetScreenSize(int width, int height)

Parameters

width int

The new width in columns.

height int

The new height in rows.

Exceptions

NotSupportedException

Thrown when called on non-FakeDriver instances.