Function
Termboxattr_indexed
Description
Create an indexed-color attribute.
The interpretation of index depends on the current termbox output mode.
Parameters
index-
Type:
uint8_tA terminal palette index.
flags-
Type:
TbgAttrFlagsStyle flags to combine with
index.
Return value
Type: TbgAttr
An attribute containing index and flags.