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
FastLoopIdleMs
Fast loop idle time when rendering without frame rate limit (default: 10ms)
public const int FastLoopIdleMs = 10
Field Value
FirstWindowSwitchKey
First Alt+Number window switch key (default: Alt+1)
public const ConsoleKey FirstWindowSwitchKey = D1
Field Value
LastWindowSwitchKey
Last Alt+Number window switch key (default: Alt+9)
public const ConsoleKey LastWindowSwitchKey = D9
Field Value
MaxSleepDurationMs
Maximum sleep duration for input state service (default: 100ms)
public const int MaxSleepDurationMs = 100
Field Value
MinSleepDurationMs
Minimum sleep duration for input state service (default: 10ms)
public const int MinSleepDurationMs = 10
Field Value
PortalDismissDebounceMs
Debounce time before allowing portal dismiss after creation (default: 200ms). Prevents the same click that opens a portal from immediately dismissing it.
public const int PortalDismissDebounceMs = 200
Field Value
WatchdogPollIntervalMs
Watchdog timer tick cadence in milliseconds (default: 500ms).
public const int WatchdogPollIntervalMs = 500
Field Value
WatchdogStaleThresholdMs
No heartbeat for this long → log + scan for emergency exit (default: 2000ms).
public const int WatchdogStaleThresholdMs = 2000
Field Value
WatchdogUnresponsiveThresholdMs
No heartbeat for this long → raise Unresponsive + optional banner (default: 5000ms).
public const int WatchdogUnresponsiveThresholdMs = 5000