Function run
async fn run(api: &dyn WindowsApi, child: &mut Child)Expand description
The main run loop of the client.
Connects to the named pipe opened by the daemon, reads all input records from it
and replays them to the console input buffer of the given child process.
Handles the Alt + Shift + C key combination used to close the console window
after the child process encountered an unexpected error.
ยงArguments
api- The Windows API implementation to use.child- Handle to the running SSH process.