Show / Hide Table of Contents

Enum Key

The Key enumeration contains special encoding for some keys, but can also encode all the unicode values that can be passed.

Namespace: Terminal
Assembly: Terminal.dll
Syntax
public enum Key
Remarks

If the SpecialMask is set, then the value is that of the special mask, otherwise, the value is the one of the lower bits (as extracted by CharMask)

Control keys are the values between 1 and 26 corresponding to Control-A to Control-Z

Fields

Name Description
AltMask
Backspace
BackTab
CharMask
ControlA
ControlB
ControlC
ControlD
ControlE
ControlF
ControlG
ControlH
ControlI
ControlJ
ControlK
ControlL
ControlM
ControlN
ControlO
ControlP
ControlQ
ControlR
ControlS
ControlT
ControlU
ControlV
ControlW
ControlX
ControlY
ControlZ
CursorDown
CursorLeft
CursorRight
CursorUp
Delete
DeleteChar
End
Enter
Esc
F1
F10
F2
F3
F4
F5
F6
F7
F8
F9
Home
InsertChar
PageDown
PageUp
Space
SpecialMask
Tab
Unknown
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX