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

Method fillViewportRows

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

Source from the content-addressed store, hash-verified

3901 return i3 > t2.MAX_BUFFER_SIZE ? t2.MAX_BUFFER_SIZE : i3;
3902 }
3903 fillViewportRows(e3) {
3904 if (0 === this.lines.length) {
3905 void 0 === e3 && (e3 = o.DEFAULT_ATTR_DATA);
3906 let t3 = this._rows;
3907 for (; t3--; ) this.lines.push(this.getBlankLine(e3));
3908 }
3909 }
3910 clear() {
3911 this.ydisp = 0, this.ybase = 0, this.y = 0, this.x = 0, this.lines = new s2.CircularList(this._getCorrectBufferLength(this._rows)), this.scrollTop = 0, this.scrollBottom = this._rows - 1, this.setupTabStops();
3912 }

Callers 2

resetMethod · 0.80
activateAltBufferMethod · 0.80

Calls 2

getBlankLineMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected