diff --git a/Terminal.Gui/Core.cs b/Terminal.Gui/Core.cs index 7168eba1e..87f04f77f 100644 --- a/Terminal.Gui/Core.cs +++ b/Terminal.Gui/Core.cs @@ -1070,6 +1070,11 @@ namespace Terminal.Gui { public KeyEvent KeyEvent { get; set; } } + public class KeyEventEventArgs : EventArgs { + public KeyEventEventArgs(KeyEvent ke) => KeyEvent = ke; + public KeyEvent KeyEvent { get; set; } + } + /// /// Invoked when a character key is pressed and occurs after the key up event. ///