Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ type Term func New(name string, args ...string) *Term func (t *Term) Close() error func (t *Term) Kill() (e error) func (t *Term) Read(b []byte) (int, error) func (t *Term) SetSize(cols, rows uint16) error func (t *Term) Start(cols, rows uint16) (e error) func (t *Term) Wait() error func (t *Term) Write(b []byte) (int, error) 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 . Source Files ¶ View all Source files term_others.go Click to show internal directories. Click to hide internal directories.