term

package
v1.0.31 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Term

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

Term .

func New

func New(name string, args ...string) *Term

New .

func (*Term) Close

func (t *Term) Close() error

Close .

func (*Term) Kill

func (t *Term) Kill() (e error)

Kill 關閉進程

func (*Term) Read

func (t *Term) Read(b []byte) (int, error)

Read .

func (*Term) SetSize

func (t *Term) SetSize(cols, rows uint16) error

SetSize .

func (*Term) Start

func (t *Term) Start(cols, rows uint16) (e error)

Start 運行 命令

func (*Term) Wait

func (t *Term) Wait() error

Wait .

func (*Term) Write

func (t *Term) Write(b []byte) (int, error)

Write .

Jump to

Keyboard shortcuts

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