IInputBinding.cs 369 B

12345678910111213
  1. #nullable enable
  2. namespace Terminal.Gui;
  3. /// <summary>
  4. /// Describes an input binding. Used to bind a set of <see cref="Command"/> objects to a specific input event.
  5. /// </summary>
  6. public interface IInputBinding
  7. {
  8. /// <summary>
  9. /// Gets or sets the commands this input binding will invoke.
  10. /// </summary>
  11. Command [] Commands { get; set; }
  12. }