mirror of https://github.com/chzyer/readline.git
remove unused field
This commit is contained in:
parent
6cbf970b0b
commit
31ab3eee0c
15
std.go
15
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 {
|
||||
|
|
Loading…
Reference in New Issue