Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Curses::Windowクラス > setscrreg
setscrreg(top, bottom)