CliAnsiWriter.EraseCharacter Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Erases one or more characters from the cursor position to the right by emitting CSI n X (ECH).
ECH clears character attributes from erased character positions.
ECH works inside or outside the scrolling margins.
public CliAnsiWriter EraseCharacter(int characters = 1)
Parameters
charactersintThe number of characters to erase. A value of 0 or 1 erases one character.
Returns
- CliAnsiWriter
The same instance so that multiple calls can be chained.