twink/vendor/github.com/charmbracelet/x/term/terminal.go
2025-12-05 12:20:05 +01:00

12 lines
192 B
Go

package term
import (
"io"
)
// File represents a file that has a file descriptor and can be read from,
// written to, and closed.
type File interface {
io.ReadWriteCloser
Fd() uintptr
}