Function

Termboxattr_color

Declaration

TbgAttr
tbg_attr_color (
  TbgColor color,
  TbgAttrFlags flags
)

Description

Create an attribute for one of the eight basic colors.

Parameters

color

Type: TbgColor

A basic color.

flags

Type: TbgAttrFlags

Style flags to combine with color.

Return value

Type: TbgAttr

An attribute containing color and flags.