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