Adds PtySpawner struct that calls openpty() for master/slave fds, forks, and runs login_tty on the child side before it exits. Fixes nix feature flag (pty module is gated by `term`, not a `pty` feature in nix 0.29). Adds mock-claude workspace stub so the workspace resolves cleanly. Unit test: fork_and_login_tty_does_not_panic passes (child exits 0). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli.rs | ||
| config.rs | ||
| error.rs | ||
| lib.rs | ||
| main.rs | ||
| pty.rs | ||