Method: Curses::Window#attroff

Defined in:
ext/curses/curses.c

#attroff(attrs) ⇒ Object

Turns off the named attributes attrs without affecting any others.

See also Curses::Window.attrset



2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
# File 'ext/curses/curses.c', line 2790

static VALUE
window_attroff(VALUE obj, VALUE attrs)
{
#ifdef HAVE_WATTROFF
    struct windata *winp;

    GetWINDOW(obj,winp);
    return INT2FIX(wattroff(winp->window,NUM2CHTYPE(attrs)));
#else
    return Qtrue;
#endif
}