Method: Curses.attron

Defined in:
ext/curses/curses.c

.attron(attrs) ⇒ Object

Turns on the named attributes attrs without turning any other attributes on or off.

See also Curses::Window.attrset for additional information.



1098
1099
1100
1101
1102
1103
1104
# File 'ext/curses/curses.c', line 1098

static VALUE
curses_attron(VALUE obj, VALUE attrs)
{
    curses_stdscr();
    return window_attron(rb_stdscr,attrs);
    /* return INT2FIX(attroff(NUM2INT(attrs))); */
}