https://github.com/jrincayc/ucblogo-code
Tip revision: ca23b30a62eaaf03ea203ae71d00dc45a046514e authored by Dan Malec on 21 January 2024, 20:20:12 UTC
Merge pull request #178 from jrincayc/issue_176_alt
Merge pull request #178 from jrincayc/issue_176_alt
Tip revision: ca23b30
keyp
KEYP
KEY?
predicate, outputs TRUE if there are characters waiting to be
read from the read stream. If the read stream is a file, this
is equivalent to NOT EOFP. If the read stream is the terminal,
then echoing is turned off and the terminal is set to CBREAK
(character at a time instead of line at a time) mode. It
remains in this mode until some line-mode reading is requested
(e.g., READLIST). The Unix operating system forgets about any
pending characters when it switches modes, so the first KEYP
invocation will always output FALSE.