Method OnKeyUp | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

OnKeyUp(Key)

Called when a key is released. This method is called from NewKeyUpEvent(Key).

public virtual bool OnKeyUp(Key key)

Parameters

key Key

Contains the details about the key that produced the event.

Returns

bool

false if the keys up event was not handled. true if no other view should see it.

Remarks

Not all terminals support key distinct down/up notifications, Applications should avoid depending on distinct KeyUp events.

Overrides must call into the base and return true if the base returnstrue.

See for an overview of Terminal.Gui keyboard APIs.

Edit this page