Method: Curses::Window#move

Defined in:
ext/curses/curses.c

#move(y, x) ⇒ Object

Moves the window so that the upper left-hand corner is at position (y, x)



2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
# File 'ext/curses/curses.c', line 2159

static VALUE
window_move(VALUE obj, VALUE y, VALUE x)
{
    struct windata *winp;

    GetWINDOW(obj, winp);
    mvwin(winp->window, NUM2INT(y), NUM2INT(x));

    return Qnil;
}