Files
pmg/internal/pty/output_copy_windows.go
T
Abhisek DattaandGitHub 4540dafccc fix: Handle platform specific PTY polling for terminal copy (#279)
* fix: Handle platform specific PTY polling for terminal copy

* fix: Code review fixes

* fix: Code review fixes
2026-05-28 18:11:11 +05:30

16 lines
357 B
Go

//go:build windows
package pty
import (
"context"
"io"
)
// copyPTYOutput on Windows uses a plain context-aware copy. The conpty backend
// is not affected by the kqueue netpoller issue that requires a poll(2) loop on
// unix hosts.
func copyPTYOutput(ctx context.Context, dst io.Writer, src io.Reader) error {
return copyWithContext(ctx, dst, src)
}