Documentation
¶
Overview ¶
Package terminal manages short-lived local PTY sessions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager() *Manager
func (*Manager) StartCommand ¶
func (m *Manager) StartCommand(directory string, columns, rows uint16, argv []string) (string, error)
StartCommand runs an explicit argv instead of the shell, which is how a terminal lands directly inside a tmux session. argv is passed to exec as separate arguments and never through a shell, so a session name cannot become a command.
Click to show internal directories.
Click to hide internal directories.