How to obtain single keystrokes?

Help
2009-08-16
2012-08-14
  • Jerome Potts

    Jerome Potts - 2009-08-16

    .input~charin waits for the Enter key in addition to the expected keystroke. So if i want "q" to mean "quit", the user must press "q" AND the Enter key. PARSE PULL does that wonderfully already.
    How can i get something similar to "read -s -n 1" in bash?
    Thanks in advance?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks