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

Method clearScreen

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

Source from the content-addressed store, hash-verified

374 }
375
376 private clearScreen() {
377 this.writeEmitter.fire(ACTIONS.clearScreen());
378 this.curLine = '';
379 this.cursorPos = 1;
380 this.didPrompt = false;
381 this.doPrompt();
382 }
383
384 private killEntireLine() {
385 const n = this.cursorPos - 1;

Callers 1

handleSpecialCharsMethod · 0.95

Calls 3

doPromptMethod · 0.95
fireMethod · 0.80
clearScreenMethod · 0.45

Tested by

no test coverage detected