Native Windows support: pseudo-terminal layer on ConPTY #1
Loading…
Reference in a new issue
No description provided.
Delete branch "TOAD-2-windows-pty"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.romaine.life/wp/TOAD-2
Toad now runs natively on Windows. Its three pseudo-terminal users (shell mode, agent terminals, the action pane) share one module,
toad/pseudo_terminal.py, with theptymodule on Linux and macOS and ConPTY (pywinpty) on Windows; the POSIX path keeps each caller's session setup as it was. The terminal now answers DA1 queries, which ConPTY waits about three seconds for, and terminal input no longer resets the shell's startup output hiding.Checked on Windows in a throwaway tmux: launch, the Claude adapter connecting, shell commands with directory tracking, Ctrl+C interrupting a command, and the action pane and agent terminal exit codes. New tests cover the pseudo-terminal contract, and the new Tests workflow runs them on Linux and Windows.