mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-25 05:04: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
|
|
}
|