Table of Contents

Property DefaultKeyBindings

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

DefaultKeyBindings

Gets or sets the default key bindings for Application-level commands, optionally varying by platform. Each entry maps a Command to a PlatformKeyBinding that specifies the key strings for all platforms or specific ones.

IMPORTANT: This is a process-wide static property. Change with care. Do not set in parallelizable unit tests.

[ConfigurationProperty(Scope = typeof(SettingsScope))]
public static Dictionary<Command, PlatformKeyBinding>? DefaultKeyBindings { get; set; }

Property Value

Dictionary<Command, PlatformKeyBinding>