MCPcopy Index your code
hub / github.com/codeaashu/claude-code / _eraseInBufferLine

Method _eraseInBufferLine

src/server/web/public/terminal.js:2934–2937  ·  view source on GitHub ↗
(e3, t3, i3, s3 = false, r2 = false)

Source from the content-addressed store, hash-verified

2932 return 1 === t3 && (this._curAttrData.bg |= 536870912), 2 !== t3 && 0 !== t3 || (this._curAttrData.bg &= -536870913), true;
2933 }
2934 _eraseInBufferLine(e3, t3, i3, s3 = false, r2 = false) {
2935 const n2 = this._activeBuffer.lines.get(this._activeBuffer.ybase + e3);
2936 n2.replaceCells(t3, i3, this._activeBuffer.getNullCell(this._eraseAttrData()), r2), s3 && (n2.isWrapped = false);
2937 }
2938 _resetBufferLine(e3, t3 = false) {
2939 const i3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + e3);
2940 i3 && (i3.fill(this._activeBuffer.getNullCell(this._eraseAttrData()), t3), this._bufferService.buffer.clearMarkers(this._activeBuffer.ybase + e3), i3.isWrapped = false);

Callers 2

eraseInDisplayMethod · 0.95
eraseInLineMethod · 0.95

Calls 4

_eraseAttrDataMethod · 0.95
replaceCellsMethod · 0.80
getNullCellMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected