setFg

Sets foreground color

version(Posix)
bool
setFg
@safe

Parameters

c
Type: Color

The color (0-7 — default colors, 8-15 — bright colors)

Return Value

Type: bool

true in case of success, otherwise false

Meta