Table of Contents

Event KeyDown

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Raised when the user presses a key.

Set Handled to true to indicate the key was handled and to prevent additional processing.

[Obsolete("The legacy static Application object is going away.")]
public static event EventHandler<Key>? KeyDown

Returns

EventHandler<Key>
Raised when the user presses a key. Set to true to indicate the key was handled and to prevent additional processing.