Table of Contents

Method GetConsoleKeyInfoFromKeyCode

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

GetConsoleKeyInfoFromKeyCode(KeyCode)

Gets the ConsoleKeyInfo from the provided KeyCode.

public static ConsoleKeyInfo GetConsoleKeyInfoFromKeyCode(KeyCode key)

Parameters

key KeyCode

The key code.

Returns

ConsoleKeyInfo

The console key info.