Function

Gntcolor_pair

since: 2.3

Declaration [src]

int
gnt_color_pair (
  int color
)

Description [src]

Return the appropriate character attribute for a specified color. If the terminal doesn’t have color support, this returns A_STANDOUT when deemed appropriate.

Available since: 2.3

Parameters

color

Type: int

The color code.

Return value

Type: int

A character attribute.