onExit method
Called when a second Ctrl-C confirms exit.
The default performs a graceful shutdown via shutdownTuiApp, which runs
the terminal backend's exit hook. Override to run app-specific teardown
(e.g. stopping a server or Docker) before the app exits.
Implementation
@override
void onExit() {
component.onQuit();
}