From 31ab3eee0c7232dcb9abeb3876ca2739df53872d Mon Sep 17 00:00:00 2001 From: chzyer <0@0xdf.com> Date: Sun, 4 Sep 2016 21:05:21 +0800 Subject: [PATCH] remove unused field --- std.go | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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 {