[plt-dev] Terminal control

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Tue Mar 10 18:06:26 EDT 2009

Don't ask why, but I'd like to do a terminal app with PLT.

But I can figure out how to capture key presses as they are done. I
can type something in and press enter, but I can't capture the key
right when it is pressed, do something, and NOT print it out.

I assumed that read-byte would do it, but apparently not.

Any suggestions?


Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the dev mailing list.