{"id":50605,"library":"creack-pty","title":"PTY","description":"Package pty provides functions for working with Unix terminals.","status":"active","version":"1.1.24","language":"go","source_language":null,"source_url":"https://github.com/creack/pty","tags":["pty","terminal","unix","tty"],"install":[{"cmd":"go get github.com/creack/pty","lang":"bash","label":"Install github.com/creack/pty"}],"dependencies":[],"imports":[{"symbol":"pty","correct":"github.com/creack/pty"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"github.com/creack/pty\"\n)\n\nfunc main() {\n\tptmx, tty, err := pty.Open()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer ptmx.Close()\n\tdefer tty.Close()\n\tfmt.Println(\"PTY opened\")\n}","lang":"go","description":"Opens a new pseudo-terminal and defers cleanup."},"warnings":[],"env_vars":null,"search_vec":"'function':5 'packag':2 'provid':4 'pti':1,3,11 'termin':10,12 'tti':14 'unix':9,13 'work':7","created_at":"2026-06-15T05:00:37.628530+00:00","updated_at":"2026-06-15T05:00:37.628530+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/creack/pty","github":"https://github.com/creack/pty","docs":"https://pkg.go.dev/github.com/creack/pty#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}