|
@@ -4,7 +4,6 @@
|
|
|
package pty
|
|
|
|
|
|
import (
|
|
|
- "errors"
|
|
|
"os"
|
|
|
"os/exec"
|
|
|
)
|
|
@@ -16,5 +15,5 @@ import (
|
|
|
// This will resize the pty to the specified size before starting the command.
|
|
|
// Starts the process in a new session and sets the controlling terminal.
|
|
|
func StartWithSize(cmd *exec.Cmd, ws *Winsize) (*os.File, error) {
|
|
|
- return nil, errors.New("unsupported platform")
|
|
|
+ return nil, ErrUnsupported
|
|
|
}
|