Flowdock
method

init_pair

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Curses

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

init_pair(p1, p2, p3) public

Changes the definition of a color-pair.

It takes three arguments: the number of the color-pair to be changed pair, the foreground color number f, and the background color number b.

If the color-pair was previously initialized, the screen is refreshed and all occurrences of that color-pair are changed to the new definition.

Show source
Register or log in to add new notes.