Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > cursesライブラリ > Cursesモジュール > color_pair

module function Curses.#color_pair

color_pair(attrs) -> Integer

[TODO]

Sets the color pair attributes to +attrs+.

以下のコードと同じです。

Curses.attrset(COLOR_PAIR(+attrs+))
[PARAM] attr:
module Curses