diff --git a/std.go b/std.go index 622e66e..ef0b6bb 100644 --- a/std.go +++ b/std.go @@ -66,14 +66,13 @@ func Line(prompt string) (string, error) { } type CancelableStdin struct { - r io.Reader - mutex sync.Mutex - stop chan struct{} - notify chan struct{} - data []byte - read int - err error - ioloopFired bool + r io.Reader + mutex sync.Mutex + stop chan struct{} + notify chan struct{} + data []byte + read int + err error } func NewCancelableStdin(r io.Reader) *CancelableStdin {