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

Method cursorForward

src/common/InputHandler.ts:937–940  ·  view source on GitHub ↗

* CSI Ps C * Cursor Forward Ps Times (default = 1) (CUF). * * @vt: #Y CSI CUF "Cursor Forward" "CSI Ps C" "Move cursor `Ps` times forward (default=1)."

(params: IParams)

Source from the content-addressed store, hash-verified

935 * @vt: #Y CSI CUF "Cursor Forward" "CSI Ps C" "Move cursor `Ps` times forward (default=1)."
936 */
937 public cursorForward(params: IParams): boolean {
938 this._moveCursor(params.params[0] || 1, 0);
939 return true;
940 }
941
942 /**
943 * CSI Ps D

Callers 1

constructorMethod · 0.95

Calls 1

_moveCursorMethod · 0.95

Tested by

no test coverage detected