Const
Cursor Backward Tabulation. Move cursor Ps tabs backward (default=1).
Cursor Horizontal Absolute. Move cursor to Ps-th column of the active row (default=1).
Cursor Horizontal Tabulation. Move cursor Ps times tabs forward (default=1).
Cursor Next Line. Move cursor Ps times down (default=1) and to the first column.
Cursor Previous Line. Move cursor Ps times up (default=1) and to the first column.
Cursor Backward. Move cursor Ps times backward (default=1).
Cursor Down. Move cursor Ps times down (default=1).
Cursor Forward. Move cursor Ps times forward (default=1).
Cursor Position. Set cursor to position [Ps, Ps] (default = [1, 1]).
Cursor Up. Move cursor Ps times up (default=1).
Delete Characters. Delete Ps characters (default=1).
Delete Columns. Delete Ps columns at cursor position.
Delete Lines. Delete Ps lines at active row (default=1).
Device Status Report. Request cursor position (CPR) with Ps = 6.
Erase Characters. Erase Ps characters from current cursor position to the right (default=1).
Erase In Display. Erase various parts of the viewport.
Erase In Line. Erase various parts of the active row.
Insert Characters. Insert Ps (blank) characters (default = 1).
Insert Columns. Insert Ps columns at cursor position.
Insert Lines. Insert Ps blank lines at active row (default=1).
Repeat Preceding Character. Repeat preceding character Ps times (default=1).
Restore Cursor. Restore cursor position, charmap and text attributes.
Reset Mode. Reset various terminal attributes.
Save Cursor. Save cursor position, charmap and text attributes.
Set Cursor Style.
Scroll Down. Scroll Ps lines down (default=1).
Select Graphic Rendition. Set/Reset various text attributes.
Scroll Left. Scroll viewport Ps times to the left.
Set Mode. Set various terminal modes.
Scroll Right. Scroll viewport Ps times to the right.
Soft Terminal Reset. Reset several terminal attributes to initial state.
Scroll Up. Scroll Ps lines up (default=1).
Tab Clear. Clear tab stops at current position (0) or all (3) (default=0).
Set Top and Bottom Margins. Set top and bottom margins of the viewport [top;bottom] (default = viewport size).
Vertical Position Absolute. Move cursor to Ps-th row (default=1).
Vertical Position Relative. Move cursor Ps times down (default=1).
A control sequence introducer command.
See
https://xtermjs.org/docs/api/vtfeatures/#csi