Method: Curses::Window#scroll
- Defined in:
- ext/curses/curses.c
#scroll ⇒ Object
Scrolls the current window up one line.
2745 2746 2747 2748 2749 2750 2751 2752 2753 |
# File 'ext/curses/curses.c', line 2745
static VALUE
window_scroll(VALUE obj)
{
struct windata *winp;
GetWINDOW(obj, winp);
/* may have to raise exception on ERR */
return (scroll(winp->window) == OK) ? Qtrue : Qfalse;
}
|