The PTY smoke harness polls captured output and child exit with fixed sleeps and multi-second deadlines. Under load this adds latency and can flake independently of TUI behavior. Notify the harness on reader output or child exit and wait on that signal with the remaining timeout.
The PTY smoke harness polls captured output and child exit with fixed sleeps and multi-second deadlines. Under load this adds latency and can flake independently of TUI behavior. Notify the harness on reader output or child exit and wait on that signal with the remaining timeout.