Refactor
This commit is contained in:
13
webtty/slave.go
Normal file
13
webtty/slave.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user