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 {
|
type CancelableStdin struct {
|
||||||
r io.Reader
|
r io.Reader
|
||||||
mutex sync.Mutex
|
mutex sync.Mutex
|
||||||
stop chan struct{}
|
stop chan struct{}
|
||||||
notify chan struct{}
|
notify chan struct{}
|
||||||
data []byte
|
data []byte
|
||||||
read int
|
read int
|
||||||
err error
|
err error
|
||||||
ioloopFired bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewCancelableStdin(r io.Reader) *CancelableStdin {
|
func NewCancelableStdin(r io.Reader) *CancelableStdin {
|
||||||
|
|
Loading…
Reference in New Issue