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

Method _resetBufferLine

src/server/web/public/terminal.js:2938–2941  ·  view source on GitHub ↗
(e3, t3 = false)

Source from the content-addressed store, hash-verified

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);
2941 }
2942 eraseInDisplay(e3, t3 = false) {
2943 let i3;
2944 switch (this._restrictCursor(this._bufferService.cols), e3.params[0]) {

Callers 1

eraseInDisplayMethod · 0.95

Calls 5

_eraseAttrDataMethod · 0.95
fillMethod · 0.80
getNullCellMethod · 0.80
clearMarkersMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected