Method CSI_WriteCursorPosition | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

CSI_WriteCursorPosition(TextWriter, int, int)

ESC [ y ; x H - CUP Cursor Position - Cursor moves to x ; y coordinate within the viewport, where x is the column of the y line

public static void CSI_WriteCursorPosition(TextWriter writer, int row, int col)

Parameters

writer TextWriter

TextWriter where to write the cursor position sequence.

row int

Origin is (1,1).

col int

Origin is (1,1).