I’m looking for something like input_char stdin but without waiting for a return key. I would not to depend on a big dependency like lambda-term.
I’m looking for something like input_char stdin but without waiting for a return key.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Handling input in full lines is easy. Handling it a character at a time is a little bit system dependent. If you’re on a Unix-like system you should be able to do this using the
Unixmodule: