using System;
namespace Terminal.Gui {
///
/// Event args for when a is changed from
/// one value to a new value (e.g. in )
///
public class KeyChangedEventArgs : EventArgs {
///
/// Gets the old that was set before the event.
/// Use to check for empty.
///
public Key OldKey { get; }
///
/// Gets the new that is being used.
/// Use to check for empty.
///
public Key NewKey { get; }
///
/// Creates a new instance of the class
///
///
///
public KeyChangedEventArgs (Key oldKey, Key newKey)
{
this.OldKey = oldKey;
this.NewKey = newKey;
}
}
}