diff --git a/examples/shell/size_windows.go b/examples/shell/size_windows.go index fa62993..a303170 100644 --- a/examples/shell/size_windows.go +++ b/examples/shell/size_windows.go @@ -15,7 +15,7 @@ func notifySizeChanges(chan os.Signal) {} // windows doesn't support SIGWINCH, so we need to poll the terminal size // periodically. -func handlePtySize(p PTY) { +func handlePtySize(p PTY, _ chan os.Signal) { for { time.Sleep(2 * time.Second)