MCPcopy
hub / github.com/xtermjs/xterm.js / cursorNextLine

Method cursorNextLine

src/common/InputHandler.ts:961–965  ·  view source on GitHub ↗

* CSI Ps E * Cursor Next Line Ps Times (default = 1) (CNL). * Other than cursorDown (CUD) also set the cursor to first column. * * @vt: #Y CSI CNL "Cursor Next Line" "CSI Ps E" "Move cursor `Ps` times down (default=1) and to the first column." * Same as CUD, additionally places th

(params: IParams)

Source from the content-addressed store, hash-verified

959 * Same as CUD, additionally places the cursor at the first column.
960 */
961 public cursorNextLine(params: IParams): boolean {
962 this.cursorDown(params);
963 this._activeBuffer.x = 0;
964 return true;
965 }
966
967 /**
968 * CSI Ps F

Callers 1

constructorMethod · 0.95

Calls 1

cursorDownMethod · 0.95

Tested by

no test coverage detected