terminal.go 192 B

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