-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
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
Time out a readline operation? #178
Labels
Comments
No. |
How difficult would it be to add this? Or is there a way I could emulate it, by spinning up a second thread and running a timer on it, or something like that? |
You need to fix these calls:
|
Thank you for the suggestion! This works well enough for me for now. |
See also #126, which subsumes this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to time out an
Editor::readline()
operation? That is, make it so that if the user doesn't enter anything within a time limit (say, 5 minutes), havereadline()
return with an error of some sort?The text was updated successfully, but these errors were encountered: