Skip to content

Use ConPTY for Windows SSH sessions - #31

Merged
htr merged 1 commit into
mainfrom
fix/windows-conpty
Jul 28, 2026
Merged

Use ConPTY for Windows SSH sessions#31
htr merged 1 commit into
mainfrom
fix/windows-conpty

Conversation

@htr

@htr htr commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaces pipe-backed Windows SSH sessions with a real ConPTY.
  • Propagates terminal resize events and cleans up the shell when its SSH session closes.
  • Adds Windows coverage for carriage-return input, resize handling, disconnect cleanup, and terminal dimension validation.

Validation

  • go test ./...
  • GOOS=windows GOARCH=amd64 go test -c -o /tmp/sshd-conpty-windows.test.exe ./pkg/sshd
  • GOOS=windows GOARCH=amd64 go build -o /tmp/breakpoint-conpty-windows.exe ./cmd/breakpoint
  • Verified carriage-return input and resize handling on a GitHub-hosted Windows Server 2022 runner during development.

@htr
htr merged commit 19b77f8 into main Jul 28, 2026
2 checks passed
@htr
htr deleted the fix/windows-conpty branch July 28, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant