Commit 31b8457c authored by Mahmood Ali's avatar Mahmood Ali
Browse files

compile on windows

parent fe3e87bf
Showing with 22 additions and 0 deletions
+22 -0
// +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)
}
package command
import (
"os"
)
func setupWindowNotification(ch chan<- os.Signal) {
// do nothing
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment