Table of Contents

CliAnsiWriter.DeleteCharacter Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

This control function deletes one or more characters from the cursor position to the right by emitting CSI n P.

public CliAnsiWriter DeleteCharacter(int characters = 1)

Parameters

characters int

The number of characters to delete. If characters is greater than the number of characters between the cursor and the right margin, then DCH only deletes the remaining characters.

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.

Remarks