rcurses.init_pair: Interface to rcurses.init_pair

Description Usage Arguments Value

Description

Interface to rcurses.init_pair

Usage

1
rcurses.init_pair(pair_number, fg, bg)

Arguments

pair_number

ID representing this new color pair

fg

foreground color (either color macro or created with init_color)

bg

background color (either color macro or created with init_color)

Value

value from corresponding ncurses C function


matloff/rcurses documentation built on May 29, 2019, 4:40 a.m.