diff --git a/std.go b/std.go index 3e68aed..db7901b 100644 --- a/std.go +++ b/std.go @@ -89,7 +89,7 @@ loop: select { case <-c.notify: c.read, c.err = os.Stdin.Read(c.data) - <-c.notify + c.notify <- struct{}{} case <-c.stop: break loop }