CliAnsiWriter.Foreground Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Sets the current foreground color by emitting SGR.
public CliAnsiWriter Foreground(CliColor color)
Parameters
colorCliColorThe foreground color.
Returns
- CliAnsiWriter
The same instance so that multiple calls can be chained.