Table of Contents

Event KeyUp

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Raised when a key is released. Set Handled to true to stop the key up event from being processed by other views. Not all terminals support key distinct down/up notifications, Applications should avoid depending on distinct KeyDown and KeyUp events and instead should use KeyDown.

See for an overview of Terminal.Gui keyboard APIs.

public event EventHandler<Key>? KeyUp

Returns

EventHandler<Key>
Raised when a key is released. Set to true to stop the key up event from being processed by other views. Not all terminals support key distinct down/up notifications, Applications should avoid depending on distinct KeyDown and KeyUp events and instead should use . See for an overview of Terminal.Gui keyboard APIs.