terminal

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTerminalSize added in v0.6.1

func GetTerminalSize() (height, width int, err error)

func ModifyPathForPty added in v0.6.1

func ModifyPathForPty(appName string)

Remove default global envs for an SDK.

Types

type PtyTerminal

type PtyTerminal struct {
	Terminal term.Terminal
}

pty for Unix. conpty for Windows.

func NewPtyTerminal

func NewPtyTerminal() (p *PtyTerminal)

func (*PtyTerminal) AddEnv

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

func (*PtyTerminal) Run

func (p *PtyTerminal) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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