Table of Contents

CliAnsiWriter.DeleteLine Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

This control function deletes one or more lines in the scrolling region by emitting CSI n M, starting with the line that has the cursor. As lines are deleted, lines below the cursor and in the scrolling region move up. The terminal adds blank lines with no visual character attributes at the bottom of the scrolling region. If lines is greater than the number of lines remaining on the page, DL deletes only the remaining lines. DL has no effect outside the scrolling margins.

public CliAnsiWriter DeleteLine(int lines = 0)

Parameters

lines int

The number of lines to delete.

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.

Remarks