pub async fn capture_terminal_async( options: TerminalCaptureOptions, ) -> Result<TerminalCapture, TerminalCaptureError>