-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi!
This is cool.
But how to send EOF from Ask()? Ctrl-D sends empty line, not an io.EOF error.
I have this behavior in bufio.Reader.ReadString('\n') that EOF is passed properly - thus can be handled. I'd like to have it here too.
Imagine I'm processing hidden input in a loop, would be nice to be able to end this normally, not only via Ctrl-C.
Metadata
Metadata
Assignees
Labels
No labels