pty

package
Version: v2.8.0-rc.24+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getsize

func Getsize(file *os.File) (int, int, error)

func IsTerminal

func IsTerminal() bool

func ResizeNotifier

func ResizeNotifier() <-chan os.Signal

Types

type PTY

type PTY struct {
	TTYR *os.File
	TTYW *os.File
	PTYR *os.File
	PTYW *os.File
}

func Open

func Open() (PTY, error)

func (PTY) Close

func (p PTY) Close() error

type Term

type Term interface {
	io.ReadWriter

	Restore() error
}

func OpenRawTerm

func OpenRawTerm() (Term, error)

Jump to

Keyboard shortcuts

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