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

Method linePosAbsolute

src/common/InputHandler.ts:1040–1043  ·  view source on GitHub ↗

* CSI Pm d Vertical Position Absolute (VPA) * [row] (default = [1,column]) * * @vt: #Y CSI VPA "Vertical Position Absolute" "CSI Ps d" "Move cursor to `Ps`-th row (default=1)."

(params: IParams)

Source from the content-addressed store, hash-verified

1038 * @vt: #Y CSI VPA "Vertical Position Absolute" "CSI Ps d" "Move cursor to `Ps`-th row (default=1)."
1039 */
1040 public linePosAbsolute(params: IParams): boolean {
1041 this._setCursor(this._activeBuffer.x, (params.params[0] || 1) - 1);
1042 return true;
1043 }
1044
1045 /**
1046 * CSI Pm e Vertical Position Relative (VPR)

Callers 1

constructorMethod · 0.95

Calls 1

_setCursorMethod · 0.95

Tested by

no test coverage detected