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

Method scrollLeft

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

Source from the content-addressed store, hash-verified

3011 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop, this._activeBuffer.scrollBottom), true;
3012 }
3013 scrollLeft(e3) {
3014 if (this._activeBuffer.y > this._activeBuffer.scrollBottom || this._activeBuffer.y < this._activeBuffer.scrollTop) return true;
3015 const t3 = e3.params[0] || 1;
3016 for (let e4 = this._activeBuffer.scrollTop; e4 <= this._activeBuffer.scrollBottom; ++e4) {
3017 const i3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + e4);
3018 i3.deleteCells(0, t3, this._activeBuffer.getNullCell(this._eraseAttrData())), i3.isWrapped = false;
3019 }
3020 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop, this._activeBuffer.scrollBottom), true;
3021 }
3022 scrollRight(e3) {
3023 if (this._activeBuffer.y > this._activeBuffer.scrollBottom || this._activeBuffer.y < this._activeBuffer.scrollTop) return true;
3024 const t3 = e3.params[0] || 1;

Callers 1

constructorMethod · 0.95

Calls 5

_eraseAttrDataMethod · 0.95
deleteCellsMethod · 0.80
getNullCellMethod · 0.80
getMethod · 0.65
markRangeDirtyMethod · 0.45

Tested by

no test coverage detected