mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-14 01:14:25 +00:00
14 lines
237 B
Go
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
|
|
}
|