CursorExtensions

Contains extension methods for .

Contains extension methods for IAnsiConsoleCursor.

Methods

public static void Hide(IAnsiConsoleCursor cursor)

Hides the cursor.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
public static void MoveDown(IAnsiConsoleCursor cursor)

Moves the cursor down.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
public static void MoveDown(IAnsiConsoleCursor cursor, int steps)

Moves the cursor down.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
steps (int)
The number of steps to move the cursor.
public static void MoveLeft(IAnsiConsoleCursor cursor)

Moves the cursor to the left.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
public static void MoveLeft(IAnsiConsoleCursor cursor, int steps)

Moves the cursor to the left.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
steps (int)
The number of steps to move the cursor.
public static void MoveRight(IAnsiConsoleCursor cursor)

Moves the cursor to the right.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
public static void MoveRight(IAnsiConsoleCursor cursor, int steps)

Moves the cursor to the right.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
steps (int)
The number of steps to move the cursor.
public static void MoveUp(IAnsiConsoleCursor cursor)

Moves the cursor up.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
public static void MoveUp(IAnsiConsoleCursor cursor, int steps)

Moves the cursor up.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.
steps (int)
The number of steps to move the cursor.
public static void Show(IAnsiConsoleCursor cursor)

Shows the cursor.

Parameters:

cursor (IAnsiConsoleCursor)
The cursor.