Expand description
Global panic handler for graceful TUI recovery
This module provides a panic handler that ensures the terminal is restored to a usable state when a panic occurs, and optionally logs panic information.
Structs§
- TuiGuard
- Create a guard that automatically sets TUI active/inactive
Functions§
- install
- Install a panic handler that will restore the terminal on panic
- install_
with_ cleanup - Install a panic handler with a custom cleanup function
- set_
tui_ active - Mark that the TUI is active