func StartWithSize(c *exec.Cmd, sz *Winsize) (pty *os.File, err error) {
	return newpty.StartWithSize(c, sz)
}
StartWithSize assigns a pseudo-terminal tty os.File to c.Stdin,
c.Stdout, and c.Stderr, calls c.Start, and returns the File of the
tty's corresponding pty.

This will resize the pty to the specified size before starting the
command.

Deprecated; please use github.com/creack/pty instead.
package pty
import (
	"os"
	"os/exec"
	"github.com/creack/pty"
	newpty "github.com/creack/pty"
)
var ErrUnsupported = pty.ErrUnsupported
type Winsize = pty.Winsize
func Getsize(t *os.File) (rows, cols int, err error) { return pty.Getsize(t) }
func GetsizeFull(t *os.File) (size *Winsize, err error) {
	return pty.GetsizeFull(t)
}
func InheritSize(pty, tty *os.File) error { return newpty.InheritSize(pty, tty) }
func Open() (pty, tty *os.File, err error) { return newpty.Open() }
func Setsize(t *os.File, ws *Winsize) error { return pty.Setsize(t, ws) }
func Start(c *exec.Cmd) (pty *os.File, err error) { return newpty.Start(c) }