rpty

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: 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