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

Method moveRight

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

Source from the content-addressed store, hash-verified

427 }
428
429 private moveRight() {
430 if (this.cursorPos <= this.curLine.length) {
431 this.writeEmitter.fire(ACTIONS.cursorForward(1));
432 this.cursorPos++;
433 }
434 }
435
436 private killPrevChar() {
437 if (this.cursorPos > 1) {

Callers 1

handleSpecialCharsMethod · 0.95

Calls 2

fireMethod · 0.80
cursorForwardMethod · 0.80

Tested by

no test coverage detected