Method: Curses.attrset
- Defined in:
- ext/curses/curses.c
.attrset(attrs) ⇒ Object
Sets the current attributes of the given window to attrs.
see also Curses::Window.attrset
1115 1116 1117 1118 1119 1120 1121 |
# File 'ext/curses/curses.c', line 1115 static VALUE curses_attrset(VALUE obj, VALUE attrs) { curses_stdscr(); return window_attrset(rb_stdscr,attrs); /* return INT2FIX(attroff(NUM2INT(attrs))); */ } |