Ruby 2.0.0 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Curses::Windowクラス > attrset
attrset(attrs)
[permalink][rdoc][TODO]
Sets the current attributes of the given window to +attrs+.
The following video attributes, defined in <curses.h>, can be passed to the routines Curses::Window.attron, Curses::Window.attroff, and Curses::Window.attrset, or OR'd with the characters passed to addch.
Normal display (no highlight)
Best highlighting mode of the terminal.
Underlining
Reverse video
Blinking
Half bright
Extra bright or bold
Protected mode
Invisible or blank mode
Alternate character set
Bit-mask to extract a character
Color-pair number n