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

Method _updateViewportRectangle

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

Source from the content-addressed store, hash-verified

6953 this._dimensions = e3;
6954 }
6955 _updateCachedColors(e3) {
6956 this._bgFloat = this._colorToFloat32Array(e3.background), this._cursorFloat = this._colorToFloat32Array(e3.cursor);
6957 }
6958 _updateViewportRectangle() {
6959 this._addRectangleFloat(this._vertices.attributes, 0, 0, 0, this._terminal.cols * this._dimensions.device.cell.width, this._terminal.rows * this._dimensions.device.cell.height, this._bgFloat);
6960 }

Callers 2

constructorMethod · 0.95
handleResizeMethod · 0.95

Calls 1

_addRectangleFloatMethod · 0.95

Tested by

no test coverage detected