mirror of
https://github.com/yudai/gotty.git
synced 2026-03-10 07:32:36 +01:00
Refactor
This commit is contained in:
parent
54403dd678
commit
a6133f34b7
54 changed files with 2140 additions and 1334 deletions
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue