Table of Contents

Field RootKeyEvent

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Called for new KeyPress events before any processing is performed or views evaluate. Use for global key handling and/or debugging.

Return true to suppress the KeyPress event

public static Func<KeyEvent, bool> RootKeyEvent

Returns

Func<KeyEvent, bool>
Called for new KeyPress events before any processing is performed or views evaluate. Use for global key handling and/or debugging. Return true to suppress the KeyPress event