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

Method scrollDown

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

Source from the content-addressed store, hash-verified

3006 return this._dirtyRowTracker.markRangeDirty(this._activeBuffer.scrollTop, this._activeBuffer.scrollBottom), true;
3007 }
3008 scrollDown(e3) {
3009 let t3 = e3.params[0] || 1;
3010 for (; t3--; ) this._activeBuffer.lines.splice(this._activeBuffer.ybase + this._activeBuffer.scrollBottom, 1), this._activeBuffer.lines.splice(this._activeBuffer.ybase + this._activeBuffer.scrollTop, 0, this._activeBuffer.getBlankLine(l.DEFAULT_ATTR_DATA));
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;

Callers 1

constructorMethod · 0.95

Calls 3

spliceMethod · 0.80
getBlankLineMethod · 0.80
markRangeDirtyMethod · 0.45

Tested by

no test coverage detected