terminal

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NilWriter

type NilWriter struct{}

func (*NilWriter) Write

func (nw *NilWriter) Write(p []byte) (n int, err error)

type PtyTerminal

type PtyTerminal struct {
	AppName  string
	Terminal terminal.Terminal
}

pty for Unix. conpty for Windows.

func NewPtyTerminal

func NewPtyTerminal(appName string) (p *PtyTerminal)

func (*PtyTerminal) AddEnv

func (p *PtyTerminal) AddEnv(key, value string)

func (*PtyTerminal) Run

func (p *PtyTerminal) Run()

Jump to

Keyboard shortcuts

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