MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _reflowLargerAdjustViewport

Method _reflowLargerAdjustViewport

src/server/web/public/terminal.js:3952–3957  ·  view source on GitHub ↗
(e3, t3, i3)

Source from the content-addressed store, hash-verified

3950 }
3951 }
3952 _reflowLargerAdjustViewport(e3, t3, i3) {
3953 const s3 = this.getNullCell(o.DEFAULT_ATTR_DATA);
3954 let r2 = i3;
3955 for (; r2-- > 0; ) 0 === this.ybase ? (this.y > 0 && this.y--, this.lines.length < t3 && this.lines.push(new o.BufferLine(e3, s3))) : (this.ydisp === this.ybase && this.ydisp--, this.ybase--);
3956 this.savedY = Math.max(this.savedY - i3, 0);
3957 }
3958 _reflowSmaller(e3, t3) {
3959 const i3 = this.getNullCell(o.DEFAULT_ATTR_DATA), s3 = [];
3960 let r2 = 0;

Callers 1

_reflowLargerMethod · 0.80

Calls 3

getNullCellMethod · 0.80
maxMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected