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

Method cursorBackward

src/common/InputHandler.ts:948–951  ·  view source on GitHub ↗

* CSI Ps D * Cursor Backward Ps Times (default = 1) (CUB). * * @vt: #Y CSI CUB "Cursor Backward" "CSI Ps D" "Move cursor `Ps` times backward (default=1)."

(params: IParams)

Source from the content-addressed store, hash-verified

946 * @vt: #Y CSI CUB "Cursor Backward" "CSI Ps D" "Move cursor `Ps` times backward (default=1)."
947 */
948 public cursorBackward(params: IParams): boolean {
949 this._moveCursor(-(params.params[0] || 1), 0);
950 return true;
951 }
952
953 /**
954 * CSI Ps E

Callers 1

constructorMethod · 0.95

Calls 1

_moveCursorMethod · 0.95

Tested by

no test coverage detected