Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library curses > module Curses > ungetch
ungetch(ch)
文字 ch (ASCII コードを示す整数) をストリームに戻します。