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

Method scrollRight

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

Source from the content-addressed store, hash-verified

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;
3025 for (let e4 = this._activeBuffer.scrollTop; e4 <= this._activeBuffer.scrollBottom; ++e4) {
3026 const i3 = this._activeBuffer.lines.get(this._activeBuffer.ybase + e4);
3027 i3.insertCells(0, t3, this._activeBuffer.getNullCell(this._eraseAttrData())), i3.isWrapped = false;
3028 }
3029 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop, this._activeBuffer.scrollBottom), true;
3030 }
3031 insertColumns(e3) {
3032 if (this._activeBuffer.y > this._activeBuffer.scrollBottom || this._activeBuffer.y < this._activeBuffer.scrollTop) return true;
3033 const t3 = e3.params[0] || 1;

Callers 1

constructorMethod · 0.95

Calls 5

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

Tested by

no test coverage detected