CliAnsiWriter.CursorUp Method
Definition
- Namespace
- DotMake.CommandLine
- Assembly
- DotMake.CommandLine.dll
Moves the cursor up a specified number of lines in the same column by emitting CSI n A.
The cursor stops at the top margin.
If the cursor is already above the top margin, then the cursor stops at the top line.
public CliAnsiWriter CursorUp(int steps)
Parameters
stepsintThe number of steps to move the cursor up.
Returns
- CliAnsiWriter
The same instance so that multiple calls can be chained.