Table of Contents

Method OnKeyDownNotHandled

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

OnKeyDownNotHandled(Key)

Called when the user has pressed key it wasn't handled by KeyDown and was not bound to a key binding.

protected virtual bool OnKeyDownNotHandled(Key key)

Parameters

key Key

Contains the details about the key that produced the event.

Returns

bool

false if the key press was not handled. true if the keypress was handled and no other view should see it.

Remarks

For processing HotKeys and commands, use Command and Add(Key, params Command[])instead.

Not all terminals support distinct key up notifications; applications should avoid depending on distinct KeyUp events.