scrl(p1)
public
Scrolls the current window Fixnum num
lines. The current cursor position
is not changed.
For positive num, it scrolls up.
For negative num, it scrolls down.
static VALUE
curses_scrl(VALUE obj, VALUE n)
{
/* may have to raise exception on ERR */
#ifdef HAVE_SCRL
curses_stdscr();
return (scrl(NUM2INT(n)) == OK) ? Qtrue : Qfalse;
#else
return Qfalse;
#endif
}