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

Method isCursorInViewport

src/server/web/public/terminal.js:3894–3897  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3892 return this._hasScrollback && this.lines.maxLength > this._rows;
3893 }
3894 get isCursorInViewport() {
3895 const e3 = this.ybase + this.y - this.ydisp;
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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected