Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ioctl_inner.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows && !solaris && !aix
//go:build !windows && !solaris && !aix && !plan9
// +build !windows,!solaris,!aix

Check failure on line 2 in ioctl_inner.go

View workflow job for this annotation

GitHub Actions / Test go stable on ubuntu-latest

+build lines do not match //go:build condition

Check failure on line 2 in ioctl_inner.go

View workflow job for this annotation

GitHub Actions / Test go oldstable on ubuntu-latest

+build lines do not match //go:build condition

package pty

Expand Down
4 changes: 2 additions & 2 deletions ioctl_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build aix
// +build aix
//go:build aix || plan9
// +build aix plan9

package pty

Expand Down
4 changes: 2 additions & 2 deletions start.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows
// +build !windows
//go:build !windows && !plan9
// +build !windows !plan9

Check failure on line 2 in start.go

View workflow job for this annotation

GitHub Actions / Test go stable on ubuntu-latest

+build lines do not match //go:build condition

Check failure on line 2 in start.go

View workflow job for this annotation

GitHub Actions / Test go oldstable on ubuntu-latest

+build lines do not match //go:build condition

package pty

Expand Down
11 changes: 11 additions & 0 deletions start_plan9.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package pty

import (
"os"
"os/exec"
)

// StartWithSize can be supported after a fashion on Plan 9, later.
func StartWithSize(cmd *exec.Cmd, ws *Winsize) (*os.File, error) {
return nil, ErrUnsupported
}
4 changes: 2 additions & 2 deletions winsize_unix.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !windows
// +build !windows
//go:build !windows && !plan9
// +build !windows !plan9

Check failure on line 2 in winsize_unix.go

View workflow job for this annotation

GitHub Actions / Test go stable on ubuntu-latest

+build lines do not match //go:build condition

Check failure on line 2 in winsize_unix.go

View workflow job for this annotation

GitHub Actions / Test go oldstable on ubuntu-latest

+build lines do not match //go:build condition

package pty

Expand Down
4 changes: 2 additions & 2 deletions winsize_unsupported.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build windows
// +build windows
//go:build windows || plan9
// +build windows plan9

package pty

Expand Down
Loading