gotty/webtty/slave.go
Iwasaki Yudai a6133f34b7 Refactor
2017-08-11 15:31:11 +09:00

14 lines
237 B
Go

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
}