Table of Contents

CliAnsiWriter.RestoreCursor Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Moves cursor to the position saved by save cursor command in SCO console mode by emitting CSI u (SCORC) if staying on page, otherwise ESC 8 (DECRC).

public CliAnsiWriter RestoreCursor(bool stayOnPage = true)

Parameters

stayOnPage bool

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.

Remarks