Pty is a Go package for using unix pseudo-terminals. Note that the examples are for demonstration purpose only, to showcase how to use the library. They are not meant to be used in any kind of production environment. Start assigns a pseudo-terminal tty os.File to c.Stdin, c.Stdout, and c.Stderr, calls c.Start, and returns the File of the tty's corresponding pty. InheritSize applies the terminal size of pty to tty. This should be run in a signal handler for syscall.SIGWINCH to automatically resize the tty when the pty receives a window size change notification.
Features
- Constants
- Variables
- Functions for working with terminals
- Supports UNIX terminals
- Provides examples
License
MIT LicenseFollow pty
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pty!