Method: Curses::Window#cury

Defined in:
ext/curses/curses.c

#curyObject

A getter for the current line (Y coord) of the window



2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
# File 'ext/curses/curses.c', line 2216

static VALUE
window_cury(VALUE obj)
{
    struct windata *winp;
    int RB_UNUSED_VAR(x), y;

    GetWINDOW(obj, winp);
    getyx(winp->window, y, x);
    return INT2FIX(y);
}