Table of Contents

Property ViewKeyBindings

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

ViewKeyBindings

Gets or sets per-view key binding overrides from configuration. The outer key is the view type name (e.g., "TextField"), the inner dictionary maps commands to platform key bindings. Nested JSON View.ViewKeyBindings overlays this dictionary when ApplyToStaticFacades() runs.

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

public static Dictionary<string, Dictionary<Command, PlatformKeyBinding>>? ViewKeyBindings { get; set; }

Property Value

Dictionary<string, Dictionary<Command, PlatformKeyBinding>>