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

Method _getCorrectBufferLength

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

Source from the content-addressed store, hash-verified

3896 return e3 >= 0 && e3 < this._rows;
3897 }
3898 _getCorrectBufferLength(e3) {
3899 if (!this._hasScrollback) return e3;
3900 const i3 = e3 + this._optionsService.rawOptions.scrollback;
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);

Callers 3

constructorMethod · 0.80
clearMethod · 0.80
resizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected