Method: Curses::Window#close

Defined in:
ext/curses/curses.c

#closeObject

Deletes the window, and frees the memory



1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
# File 'ext/curses/curses.c', line 1910

static VALUE
window_close(VALUE obj)
{
    struct windata *winp;

    GetWINDOW(obj, winp);
    delwin(winp->window);
    winp->window = 0;

    return Qnil;
}