Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InteractiveShell ¶
func InteractiveShell() []string
InteractiveShell is the argv for a keep_shell session.
Types ¶
type Proc ¶
type Proc interface {
io.ReadWriteCloser
// Resize changes the terminal size to rows x cols.
Resize(rows, cols int) error
// Kill terminates the process and everything it spawned.
Kill()
// Wait blocks until the process exits.
Wait() error
}
Proc is one task phase running behind a pseudo-terminal. Unix uses a pty (creack/pty); Windows uses ConPTY (go-pty).
Click to show internal directories.
Click to hide internal directories.