Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Curses::Windowクラス > getstr
getstr -> String
ウィンドウへの入力から一行読みこみます。