Expand description
Interactive PTY bridge: the local terminal driven against a pty exec.
The exec RPC, output ring, and resize/stdin calls live in crate::exec;
this module owns the terminal-facing half: putting the local TTY in raw
mode, forwarding raw keystrokes (so the guest’s line discipline turns
Ctrl-C/Ctrl-D into signals), pumping merged output, propagating SIGWINCH
as a resize, and restoring the terminal on exit.
Sailbox::shell is the high-level entry; the CLI
drives [run_interactive] directly for its --tty flows. Unix-only: on
other platforms the calls return an unsupported error and the build still
succeeds.
Structs§
- Shell
Options - Options for
Sailbox::shell.