mirror of
https://github.com/creack/pty.git
synced 2026-04-01 02:57:06 +09:00
* Add GHA workflow to run test_crosscompile and go test * crosscompile job doesn't need setup-go * Test more go versions * Test 1.6 * Remove 1.13 and add comment of testing strategy
24 lines
426 B
Go
24 lines
426 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package pty
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// Winsize is a dummy struct to enable compilation on unsupported platforms.
|
|
type Winsize struct {
|
|
Rows, Cols, X, Y uint16
|
|
}
|
|
|
|
// Setsize resizes t to s.
|
|
func Setsize(*os.File, *Winsize) error {
|
|
return ErrUnsupported
|
|
}
|
|
|
|
// GetsizeFull returns the full terminal size description.
|
|
func GetsizeFull(*os.File) (*Winsize, error) {
|
|
return nil, ErrUnsupported
|
|
}
|