### YamlMime:ManagedReference items: - uid: Terminal.KeyEvent id: KeyEvent children: - Terminal.KeyEvent.#ctor(Terminal.Key) - Terminal.KeyEvent.IsAlt - Terminal.KeyEvent.IsCtrl - Terminal.KeyEvent.Key - Terminal.KeyEvent.KeyValue langs: - csharp name: KeyEvent nameWithType: KeyEvent fullName: Terminal.KeyEvent type: Struct assemblies: - Terminal namespace: Terminal summary: Describes a keyboard event. syntax: content: public struct KeyEvent inheritance: - System.ValueType implements: [] - uid: Terminal.KeyEvent.#ctor(Terminal.Key) id: '#ctor(Terminal.Key)' parent: Terminal.KeyEvent langs: - csharp name: KeyEvent(Key) nameWithType: KeyEvent.KeyEvent(Key) fullName: KeyEvent.KeyEvent(Key) type: Constructor assemblies: - Terminal namespace: Terminal summary: Constructs a new KeyEvent from the provided Key value - can be a rune cast into a Key value syntax: content: public KeyEvent (Terminal.Key k); parameters: - id: k type: Terminal.Key description: To be added. overload: Terminal.KeyEvent.#ctor* exceptions: [] - uid: Terminal.KeyEvent.IsAlt id: IsAlt parent: Terminal.KeyEvent langs: - csharp name: IsAlt nameWithType: KeyEvent.IsAlt fullName: KeyEvent.IsAlt type: Property assemblies: - Terminal namespace: Terminal summary: Gets a value indicating whether the Alt key was pressed (real or synthesized) syntax: content: public bool IsAlt { get; } return: type: System.Boolean description: true if is alternate; otherwise, false. overload: Terminal.KeyEvent.IsAlt* exceptions: [] - uid: Terminal.KeyEvent.IsCtrl id: IsCtrl parent: Terminal.KeyEvent langs: - csharp name: IsCtrl nameWithType: KeyEvent.IsCtrl fullName: KeyEvent.IsCtrl type: Property assemblies: - Terminal namespace: Terminal summary: Determines whether the value is a control key syntax: content: public bool IsCtrl { get; } return: type: System.Boolean description: true if is ctrl; otherwise, false. overload: Terminal.KeyEvent.IsCtrl* exceptions: [] - uid: Terminal.KeyEvent.Key id: Key parent: Terminal.KeyEvent langs: - csharp name: Key nameWithType: KeyEvent.Key fullName: KeyEvent.Key type: Field assemblies: - Terminal namespace: Terminal summary: Symb olid definition for the key. syntax: content: public Terminal.Key Key; return: type: Terminal.Key description: To be added. exceptions: [] - uid: Terminal.KeyEvent.KeyValue id: KeyValue parent: Terminal.KeyEvent langs: - csharp name: KeyValue nameWithType: KeyEvent.KeyValue fullName: KeyEvent.KeyValue type: Property assemblies: - Terminal namespace: Terminal summary: >- The key value cast to an integer, you will typicall use this for extracting the Unicode rune value out of a key, when none of the symbolic options are in use. syntax: content: public int KeyValue { get; } return: type: System.Int32 description: To be added. overload: Terminal.KeyEvent.KeyValue* exceptions: [] references: - uid: System.ValueType parent: System isExternal: true name: ValueType nameWithType: ValueType fullName: System.ValueType - uid: Terminal.KeyEvent.#ctor(Terminal.Key) parent: Terminal.KeyEvent isExternal: false name: KeyEvent(Key) nameWithType: KeyEvent.KeyEvent(Key) fullName: KeyEvent.KeyEvent(Key) - uid: Terminal.Key parent: Terminal isExternal: false name: Key nameWithType: Key fullName: Terminal.Key - uid: Terminal.KeyEvent.IsAlt parent: Terminal.KeyEvent isExternal: false name: IsAlt nameWithType: KeyEvent.IsAlt fullName: KeyEvent.IsAlt - uid: System.Boolean parent: System isExternal: true name: Boolean nameWithType: Boolean fullName: System.Boolean - uid: Terminal.KeyEvent.IsCtrl parent: Terminal.KeyEvent isExternal: false name: IsCtrl nameWithType: KeyEvent.IsCtrl fullName: KeyEvent.IsCtrl - uid: Terminal.KeyEvent.Key parent: Terminal.KeyEvent isExternal: false name: Key nameWithType: KeyEvent.Key fullName: KeyEvent.Key - uid: Terminal.KeyEvent.KeyValue parent: Terminal.KeyEvent isExternal: false name: KeyValue nameWithType: KeyEvent.KeyValue fullName: KeyEvent.KeyValue - uid: System.Int32 parent: System isExternal: true name: Int32 nameWithType: Int32 fullName: System.Int32 - uid: Terminal.KeyEvent.#ctor* parent: Terminal.KeyEvent isExternal: false name: KeyEvent nameWithType: KeyEvent.KeyEvent fullName: KeyEvent.KeyEvent - uid: Terminal.KeyEvent.IsAlt* parent: Terminal.KeyEvent isExternal: false name: IsAlt nameWithType: KeyEvent.IsAlt fullName: KeyEvent.IsAlt - uid: Terminal.KeyEvent.IsCtrl* parent: Terminal.KeyEvent isExternal: false name: IsCtrl nameWithType: KeyEvent.IsCtrl fullName: KeyEvent.IsCtrl - uid: Terminal.KeyEvent.KeyValue* parent: Terminal.KeyEvent isExternal: false name: KeyValue nameWithType: KeyEvent.KeyValue fullName: KeyEvent.KeyValue