gotty/webtty/slave.go

14 lines
237 B
Go
Raw Normal View History

2017-02-25 22:37:07 +00:00
package webtty
import (
"io"
)
// Slave represents a PTY slave, typically it's a local command.
type Slave interface {
io.ReadWriteCloser
WindowTitleVariables() map[string]interface{}
ResizeTerminal(columns int, rows int) error
}