AnsiSequences

Class
Namespace: RazorConsole.Core.Utilities
Assembly: RazorConsole.Core

Definition

public static class AnsiSequences

Methods

17
NameTypeDescription
CPL(int)()String
CUB(int)()StringThis control function moves the cursor to the left by a specified number of columns. The cursor stops at the left border of the page.
CUD(int)()StringThis control function moves the cursor down a specified number of lines in the same column. The cursor stops at the bottom margin. If the cursor is already below the bottom margin, then the cursor stops at the bottom line.
CUF(int)()StringThis control function moves the cursor to the right by a specified number of columns. The cursor stops at the right border of the page.
CUP(int, int)()StringMoves the cursor to the specified position.
CUU(int)()StringMoves the cursor up a specified number of lines in the same column. The cursor stops at the top margin. If the cursor is already above the top margin, then the cursor stops at the top line.
ED(int)()StringThis control function erases characters from part or all of the display. When you erase complete lines, they become single-height, single-width lines, with all visual character attributes cleared. ED works inside or outside the scrolling margins.
EL(int)()StringThis control function erases characters on the line that has the cursor. EL clears all character attributes from erased character positions. EL works inside or outside the scrolling margins.
IDN()StringThis control function moves the cursor down one line, scrolling the display if necessary.
NEL()StringThis control function moves the cursor to the first column of the next line, scrolling if necessary.
PP(int)()String
RI()StringThis control function moves the cursor up one line, scrolling the display if necessary.
RM(int)()StringHides the cursor.
SD(int)()String
SGR(params byte[])()StringThis control function selects one or more character attributes at the same time.
SM(int)()StringShows the cursor.
SU(int)()String

Fields

3
NameTypeDescription
CSIStringIntroduces a control sequence that uses 8-bit characters.
DECTCEMInt32Text cursor enable.
ESCStringThe ASCII escape character (decimal 27).