pty icon indicating copy to clipboard operation
pty copied to clipboard

PTY interface for Go

Results 32 pty issues
Sort by recently updated
recently updated
newest added

This is an another attempt to support pseudo-terminal on windows using ConPty API (should resolve issue https://github.com/creack/pty/issues/95) This pull request does introduce major api change for Start method (*os.File ->...

windows
os-arch-port

This is an attempt to support pseudo-terminal on windows using `ConPty` API (should resolve issue #95) NOTICE: This pull requests introduces major api change for `Open` (`*os.File` -> `Pty`), but...

help wanted

I'm seeing data races when calling `pty.Setsize` , c.f. https://github.com/coder/coder/issues/3236 I think what's going on here is that calling `Fd()` on an `os.File` is inherently racy if multiple goroutines have...

Thanks @creack for the great library and community support! I have a question that I hope makes sense. I am using a [websocket api](https://www.nomadproject.io/api-docs/allocations#exec-allocation) that sends stdin messages and receives...

In the README shell example, there is a line: `ptmx, err := pty.Start(c)` but maybe `ptm` is better than `ptmx` to be used as the variable name. Because `ptmx` means...

Hi when I cross compile gotty module for aix like this: `env GOOS=aix GOARCH=ppc64 make` I got this error: `# github.com/kr/pty` `vendor/github.com/kr/pty/ioctl.go:6:29: undefined: syscall.SYS_IOCTL` `vendor/github.com/kr/pty/util.go:26:3: undefined: syscall.SYS_IOCTL` can you please...

help wanted
os-arch-port

Support for linux/riscv64 has existed in upstream Go since 1.14 - the repos referenced from `Dockerfile.riscv` have since been retired.

help wanted

Would you be open to modify the signature of the functions in utils.go: - InheritSize - SetSize - GetSizeFull - GetSize to either accept a File-like interface: ``` type FileLike...

Hello, I'm trying to use the shell example to spawn several shells sequentially (open shell1, close shell1, open shell2, close shell2...). The issue is that after closing the first shell,...