|
noexcept |
Initializes a new instance of the console_key_info class using the specified character, console key, and modifier keys.
keyChar | The Unicode character that corresponds to the key parameter. |
key | The console key that corresponds to the keyChar parameter. |
shift | true to indicate that a SHIFT key was pressed; otherwise, false. |
alt | true to indicate that an ALT key was pressed; otherwise, false. |
control | true to indicate that a CTRL key was pressed; otherwise, false. |