We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
This is cool. But how to send EOF from Ask()? Ctrl-D sends empty line, not an io.EOF error.
io.EOF
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.
bufio.Reader.ReadString('\n')
Imagine I'm processing hidden input in a loop, would be nice to be able to end this normally, not only via Ctrl-C.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: