Documentation ¶
Overview ¶
Package localcommand provides an implementation of webtty.Slave that launches a local command with a PTY.
Index ¶
- Constants
- type Factory
- type LocalCommand
- func (lcmd *LocalCommand) Close() error
- func (lcmd *LocalCommand) Read(p []byte) (n int, err error)
- func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error
- func (lcmd *LocalCommand) WindowTitleVariables() map[string]interface{}
- func (lcmd *LocalCommand) Write(p []byte) (n int, err error)
- type Option
- type Options
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalCommand ¶
type LocalCommand struct {
// contains filtered or unexported fields
}
func (*LocalCommand) Close ¶
func (lcmd *LocalCommand) Close() error
func (*LocalCommand) Read ¶
func (lcmd *LocalCommand) Read(p []byte) (n int, err error)
func (*LocalCommand) ResizeTerminal ¶
func (lcmd *LocalCommand) ResizeTerminal(width int, height int) error
func (*LocalCommand) WindowTitleVariables ¶
func (lcmd *LocalCommand) WindowTitleVariables() map[string]interface{}
func (*LocalCommand) Write ¶
func (lcmd *LocalCommand) Write(p []byte) (n int, err error)
type Option ¶
type Option func(*LocalCommand)
Click to show internal directories.
Click to hide internal directories.