Table of Contents

Class LayoutDefaults

Namespace
SharpConsoleUI.Configuration
Assembly
SharpConsoleUI.dll

Centralized default values for layout measurement and rendering width limits.

public static class LayoutDefaults
Inheritance
LayoutDefaults
Inherited Members

Fields

DefaultUnboundedMeasureWidth

Width used by GetLogicalContentSize when no explicit width is set. Prevents unbounded allocation when measuring Spectre renderables.

public const int DefaultUnboundedMeasureWidth = 1000

Field Value

int

MaxSafeRenderWidth

Hard safety cap for AnsiEmptySpace to prevent OOM from any caller passing an excessively large width.

public const int MaxSafeRenderWidth = 10000

Field Value

int