terminal.go

 1package term
 2
 3import (
 4	"io"
 5)
 6
 7// File represents a file that has a file descriptor and can be read from,
 8// written to, and closed.
 9type File interface {
10	io.ReadWriteCloser
11	Fd() uintptr
12}