4d90afb425
mostly to handle build directives in 1.17.
16 lines
310 B
Go
16 lines
310 B
Go
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
|
|
// +build darwin dragonfly freebsd linux netbsd openbsd solaris
|
|
|
|
package command
|
|
|
|
import (
|
|
"os"
|
|
"os/signal"
|
|
|
|
"golang.org/x/sys/unix"
|
|
)
|
|
|
|
func setupWindowNotification(ch chan<- os.Signal) {
|
|
signal.Notify(ch, unix.SIGWINCH)
|
|
}
|