mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 20:34:26 +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
|
||
|
}
|