Help us shape the future of Go! Take the 2026 Go Developer Survey

rpty

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2025 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pty

type Pty interface {
	Resize(cols uint16, rows uint16) error
	Close() error
	Run(c *exec.Cmd) error

	// reads from pty and writes to io.Writeer
	WriteTo(io.Writer) (int64, error)

	// Reads from io.Reader and writes to pty
	ReadFrom(io.Reader) (int64, error)
}

Pty pseudo-tty interface

func New

func New() (Pty, error)

New creates a new Pty

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL