High-level terminal abstraction over a PTY.
Terminal owns a PtyMaster and drives async read/write loops via tokio. Output is fanned out through a broadcast channel so multiple subscribers (WebSocket clients) can receive the same stream.
Terminal
PtyMaster