MCPcopy Create free account
hub / github.com/Marus/cortex-debug / moveToEnd

Method moveToEnd

src/frontend/pty.ts:406–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

404 }
405
406 private moveToEnd() {
407 const n = this.curLine.length - this.cursorPos + 1;
408 if (n > 0) {
409 this.writeEmitter.fire(ACTIONS.cursorForward(n));
410 this.cursorPos += n;
411 }
412 }
413
414 private moveToBeg() {
415 const n = this.cursorPos - 1;

Callers 1

handleSpecialCharsMethod · 0.95

Calls 2

fireMethod · 0.80
cursorForwardMethod · 0.80

Tested by

no test coverage detected