pub fn spawn_app_process<A>(app: A, config: TerminalConfig) -> PaneProcessExpand description
Spawn a TerminalApp in a background thread, returning a PaneProcess
handle that the frame loop can use to exchange bytes with the app.
The app renders into an AnsiBackend whose output is sent through
the stdout channel. Input is received through the input channel and
dispatched to the app’s handle_input.