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

Method killEntireLine

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

Source from the content-addressed store, hash-verified

382 }
383
384 private killEntireLine() {
385 const n = this.cursorPos - 1;
386 this.writeEmitter.fire(ACTIONS.killLine(n));
387 this.cursorPos = 1;
388 this.curLine = '';
389 }
390
391 private killLineFromCursor() {
392 const n = this.curLine.length - this.cursorPos + 1;

Callers 1

handleSpecialCharsMethod · 0.95

Calls 2

fireMethod · 0.80
killLineMethod · 0.80

Tested by

no test coverage detected