interfaces

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console interface {
	io.Reader
	io.Writer
	io.Closer

	SetSize(cols uint, rows uint) error

	ResizeWithString(sizeText string) error

	GetSize() (uint, uint)

	Start(dir string, command []string) error

	AddENV(environ []string) error

	Pid() int

	Wait() (*os.ProcessState, error)

	Kill() error

	Signal(sig os.Signal) error

	StdIn() io.Writer

	StdOut() io.Reader

	StdErr() io.Reader
}

Console communication interface

Jump to

Keyboard shortcuts

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