platform

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: GPL-3.0 Imports: 7 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchTarget added in v0.9.0

func LaunchTarget(target string) error

Types

type PlatformDependentSettings

type PlatformDependentSettings struct {
	OSCTerminators map[rune]struct{}
}

PlatformDependentSettings Settings specific to the platform

type Process

type Process interface {
	io.Closer

	Wait() error
}

Process represents a child process by pid or HPROCESS in a platform-independent way

type Pty

type Pty interface {
	io.ReadWriteCloser

	Resize(x int, y int) error
	CreateGuestProcess(imagePath string) (Process, error)
	GetPlatformDependentSettings() PlatformDependentSettings
}

Pty represents a pseudo-terminal either by pty/tty file pair or by HCON

func NewPty

func NewPty(x, y int) (Pty, error)

Jump to

Keyboard shortcuts

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