Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Curses::Windowクラス > getch

instance method Curses::Window#getch

getch -> Integer

ウィンドウへの入力から 1 バイト読みこみます。

class Curses::Window