Skip to content

Commit

Permalink
fix: example
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Sep 14, 2023
1 parent 3ae01cd commit b34e00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/shell/size_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b34e00b

Please sign in to comment.