Table of Contents

Property EnableConsoleScrolling

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EnableConsoleScrolling

The current EnableConsoleScrolling used in the terminal.

[Obsolete("This API is deprecated and has no impact when enabled.", false)]
public static bool EnableConsoleScrolling { get; set; }

Property Value

bool

Remarks

If false (the default) the height of the Terminal.Gui application (Rows) tracks to the height of the visible console view when the console is resized. In this case scrolling in the console will be disabled and all Rows will remain visible.

If true then height of the Terminal.Gui application Rows only tracks the height of the visible console view when the console is made larger (the application will only grow in height, never shrink). In this case console scrolling is enabled and the contents (Rows high) will scroll as the console scrolls.

This API is deprecated and has no impact when enabled.

This API was previously named 'HeightAsBuffer` but was renamed to make its purpose more clear.