CliAnsiWriter.InsertCharacter Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
inserts one or more space (SP) characters starting at the cursor position
by emitting CSI n @ (ICH).
The ICH sequence inserts blank characters with the normal character attribute.
The cursor remains at the beginning of the blank characters.
Text between the cursor and right margin moves to the right.
Characters scrolled past the right margin are lost. ICH has no effect outside the scrolling margins.
public CliAnsiWriter InsertCharacter(int characters = 1)
Parameters
charactersintThe number of characters to insert.
Returns
- CliAnsiWriter
The same instance so that multiple calls can be chained.