(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 | } |
| 6961 | updateBackgrounds(e3) { |
| 6962 | const t3 = this._terminal, i3 = this._vertices; |
| 6963 | let s3, r2, n2, a2, h2, l2, c2, d2, _2, u2, g2, v2 = 1; |
| 6964 | for (s3 = 0; s3 < t3.rows; s3++) { |
| 6965 | for (n2 = -1, a2 = 0, h2 = 0, l2 = false, r2 = 0; r2 < t3.cols; r2++) c2 = (s3 * t3.cols + r2) * o.RENDER_MODEL_INDICIES_PER_CELL, d2 = e3.cells[c2 + o.RENDER_MODEL_BG_OFFSET], _2 = e3.cells[c2 + o.RENDER_MODEL_FG_OFFSET], u2 = !!(67108864 & _2), (d2 !== a2 || _2 !== h2 && (l2 || u2)) && ((0 !== a2 || l2 && 0 !== h2) && (g2 = 8 * v2++, this._updateRectangle(i3, g2, h2, a2, n2, r2, s3)), n2 = r2, a2 = d2, h2 = _2, l2 = u2); |
| 6966 | (0 !== a2 || l2 && 0 !== h2) && (g2 = 8 * v2++, this._updateRectangle(i3, g2, h2, a2, n2, t3.cols, s3)); |
| 6967 | } |
| 6968 | i3.count = v2; |
| 6969 | } |
no test coverage detected