Occurs when a mapped key is pressed.
The event handler receives an argument of type Terminal.KeyMappedEventArgs containing data related to this event. The following Terminal.KeyMappedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Alt | Gets a value indicating whether the ALT key was pressed. |
| Control | Gets a value indicating whether the CTRL key was pressed. |
| KeyCode | Gets a value which specifies the key that was pressed. |
| KeyValue | Gets the escape sequence mapped to the special key. |
| Shift | Gets a value indicating whether the SHIFT key was pressed. |
This event is generated when the user presses a special key while the emulation window has focus, and that key is mapped to a string using the KeyMap array.