Function toggle_processed_input_mode
fn toggle_processed_input_mode<W: WindowsApi>(windows_api: &W)Expand description
The processed console input mode controls whether special key combinations
such as Ctrl + c or Ctrl + BREAK receive special handling or are treated
as simple key presses.
By default processed input mode is enabled, meaning Ctrl + c is treated as
a signal, not key presses.
https://learn.microsoft.com/en-us/windows/console/ctrl-c-and-ctrl-break-signals
ยงArguments
windows_api- The Windows API implementation to use