MCPcopy
hub / github.com/codeaashu/claude-code / eraseChars

Method eraseChars

src/server/web/public/terminal.js:3049–3053  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

3047 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop, this._activeBuffer.scrollBottom), true;
3048 }
3049 eraseChars(e3) {
3050 this._restrictCursor();
3051 const t3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + this._activeBuffer.y);
3052 return t3 && (t3.replaceCells(this._activeBuffer.x, this._activeBuffer.x + (e3.params[0] || 1), this._activeBuffer.getNullCell(this._eraseAttrData())), this._dirtyRowTracker.markDirty(this._activeBuffer.y)), true;
3053 }
3054 repeatPrecedingCharacter(e3) {
3055 const t3 = this._parser.precedingJoinState;
3056 if (!t3) return true;

Callers 1

constructorMethod · 0.95

Calls 6

_restrictCursorMethod · 0.95
_eraseAttrDataMethod · 0.95
replaceCellsMethod · 0.80
getNullCellMethod · 0.80
getMethod · 0.65
markDirtyMethod · 0.45

Tested by

no test coverage detected