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

Method moveLeft

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

Source from the content-addressed store, hash-verified

420 }
421
422 private moveLeft() {
423 if (this.cursorPos > 1) {
424 this.writeEmitter.fire(ACTIONS.cursorBack(1));
425 this.cursorPos--;
426 }
427 }
428
429 private moveRight() {
430 if (this.cursorPos <= this.curLine.length) {

Callers 1

handleSpecialCharsMethod · 0.95

Calls 2

fireMethod · 0.80
cursorBackMethod · 0.80

Tested by

no test coverage detected