Skip to main content

Module console

Module console 

Source
Expand description

ConsoleControl — save/restore terminal state, and trap the interrupt-class events that would otherwise skip every destructor.

Structs§

UnixConsoleControl
UnixModes
The cooked modes, Copy so the caller can hold them in a OnceLock rather than leaking a Box for the handler to read.

Enums§

HandlerContract
What an implementor’s interrupt handler may do.

Traits§

ConsoleControl
Save/restore terminal state and trap the interrupt-class events.

Type Aliases§

ActiveConsoleControl