pty

package
v0.0.35 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadDependency

func DownloadDependency() error

Types

type PTYInterface

type PTYInterface interface {
	Write(p []byte) (n int, err error)
	Read(p []byte) (n int, err error)
	Getsize() (uint16, uint16, error)
	Setsize(cols, rows uint32) error
	Close() error
}

func Start

func Start() (PTYInterface, error)

type Pty

type Pty struct {
	// contains filtered or unexported fields
}

func (*Pty) Close

func (pty *Pty) Close() error

func (*Pty) Getsize

func (pty *Pty) Getsize() (uint16, uint16, error)

func (*Pty) Read

func (pty *Pty) Read(p []byte) (n int, err error)

func (*Pty) Setsize

func (pty *Pty) Setsize(cols, rows uint32) error

func (*Pty) Write

func (pty *Pty) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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