How to get a single character without pressing enter?

Viewed 27156

How can I get a single keyboard character from the terminal with Ruby without pressing enter? I tried Curses::getch, but that didn't really work for me.

6 Answers
Related