#nullable enable // These classes use a key binding system based on the design implemented in Scintilla.Net which is an // MIT licensed open source project https://github.com/jacobslusser/ScintillaNET/blob/master/src/ScintillaNET/Command.cs namespace Terminal.Gui; /// Provides a collection of objects that are scoped to . public record struct KeyBinding { /// Initializes a new instance. /// /// public KeyBinding (Command [] commands, KeyBindingScope scope) { Commands = commands; Scope = scope; } /// The actions which can be performed by the application or bound to keys in a control. public Command [] Commands { get; set; } /// The scope of the bound to a key. public KeyBindingScope Scope { get; set; } }