Table of Contents

Method ToKeyInfo

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

ToKeyInfo(Key)

Converts a Key into the native keyboard info type. Should be used for simulating key presses in unit tests.

TInputRecord ToKeyInfo(Key key)

Parameters

key Key

Returns

TInputRecord