Function replay_input_record
fn replay_input_record(api: &dyn WindowsApi, input_record: INPUT_RECORD_0)Expand description
Replay one daemon-forwarded key event into the client console.
Ctrl+C and Ctrl+Break injected via WriteConsoleInputW never raise a
console control signal, so when the input buffer has processed input
enabled they are re-raised via GenerateConsoleCtrlEvent; all other
records (and raw-mode consoles) are written verbatim.
ยงArguments
api- The Windows API implementation to use.input_record- The [INPUT_RECORD_0].KeyEventrecord to replay.