Expand description
Shared termination/intent model for mecha10 dev’s interactive TUI screens.
Gives every screen a consistent answer for “what does this key mean” and installs a single shared Ctrl+C handler.
Enums§
Functions§
- classify_
key - Classify a key event into a
TerminationIntent, if it is one. - install_
quit_ signal - Install a single process-wide Ctrl+C handler and return the shared “keep running” flag it clears on signal. Safe to call more than once; only the first call registers the handler.