MCPcopy Index your code
hub / github.com/xtermjs/xterm.js / cursorPrecedingLine

Method cursorPrecedingLine

src/common/InputHandler.ts:975–979  ·  view source on GitHub ↗

* CSI Ps F * Cursor Previous Line Ps Times (default = 1) (CPL). * Other than cursorUp (CUU) also set the cursor to first column. * * @vt: #Y CSI CPL "Cursor Backward" "CSI Ps F" "Move cursor `Ps` times up (default=1) and to the first column." * Same as CUU, additionally places th

(params: IParams)

Source from the content-addressed store, hash-verified

973 * Same as CUU, additionally places the cursor at the first column.
974 */
975 public cursorPrecedingLine(params: IParams): boolean {
976 this.cursorUp(params);
977 this._activeBuffer.x = 0;
978 return true;
979 }
980
981 /**
982 * CSI Ps G

Callers 1

constructorMethod · 0.95

Calls 1

cursorUpMethod · 0.95

Tested by

no test coverage detected