using System;
namespace Terminal.Gui {
///
/// Defines the event arguments for
///
public class KeyEventEventArgs : EventArgs {
///
/// Constructs.
///
///
public KeyEventEventArgs (KeyEvent ke) => KeyEvent = ke;
///
/// The for the event.
///
public KeyEvent KeyEvent { get; set; }
///
/// Indicates if the current Key event has already been processed and the driver should stop notifying any other event subscriber.
/// Its important to set this value to true specially when updating any View's layout from inside the subscriber method.
///
public bool Handled { get; set; } = false;
}
}