Table of Contents

Class SystemDefaults

Namespace
SharpConsoleUI.Configuration
Assembly
SharpConsoleUI.dll

Centralized default values and constants for ConsoleWindowSystem behavior. Extracted from magic numbers in ConsoleWindowSystem.cs.

public static class SystemDefaults
Inheritance
SystemDefaults
Inherited Members

Fields

DefaultIdleTimeMs

Default idle time between main loop iterations in milliseconds (default: 10ms)

public const int DefaultIdleTimeMs = 10

Field Value

int

FastLoopIdleMs

Fast loop idle time when rendering without frame rate limit (default: 10ms)

public const int FastLoopIdleMs = 10

Field Value

int

FirstWindowSwitchKey

First Alt+Number window switch key (default: Alt+1)

public const ConsoleKey FirstWindowSwitchKey = D1

Field Value

ConsoleKey

LastWindowSwitchKey

Last Alt+Number window switch key (default: Alt+9)

public const ConsoleKey LastWindowSwitchKey = D9

Field Value

ConsoleKey

MaxSleepDurationMs

Maximum sleep duration for input state service (default: 100ms)

public const int MaxSleepDurationMs = 100

Field Value

int

MinSleepDurationMs

Minimum sleep duration for input state service (default: 10ms)

public const int MinSleepDurationMs = 10

Field Value

int