terminal

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2014 License: GPL-3.0 Imports: 10 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 struct {
	Stdin  *os.File
	Stdout *os.File
}

func New

func New() *Pty

func (*Pty) Record

func (p *Pty) Record(command string, stdoutCopy io.Writer) error

func (*Pty) Size

func (p *Pty) Size() (int, int, error)

type Terminal

type Terminal interface {
	Size() (int, int, error)
	Record(string, io.Writer) error
}

Jump to

Keyboard shortcuts

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