Input without pressing "Enter" in Lisp?
Is there a way I can get user input without having the user press the "Enter" key?
For example, say I give the user a menu with a single character representing each option, they could just press the single key and Lisp will accept the character. They would not have to press "Enter" afterwards.
I know there is a way to do this in C, but I am still new to Lisp and I couldn't find anything on how to do it.
By the way I am using the "CLISP" interpreter.
Thanks in advance.
|