Registry / utility / creack-pty

creack-pty

JSON →
library1.1.24gogounverified

Package pty provides functions for working with Unix terminals.

go get github.com/creack/pty
INSTALL
IMPORT
SIG · CREACK-PTY
C
creack-pty
utilitygov1.1.24
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pty
✓ github.com/creack/pty

Opens a new pseudo-terminal and defers cleanup.

package main import ( "fmt" "os" "github.com/creack/pty" ) func main() { ptmx, tty, err := pty.Open() if err != nil { panic(err) } defer ptmx.Close() defer tty.Close() fmt.Println("PTY opened") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.24latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
creack-pty — go get creack-pty · libregistry