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

Method _renderColorZone

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

Source from the content-addressed store, hash-verified

1086 this._shouldUpdateDimensions = false, this._shouldUpdateAnchor = false;
1087 }
1088 _renderColorZone(e3) {
1089 this._ctx.fillStyle = e3.color, this._ctx.fillRect(d[e3.position || "full"], Math.round((this._canvas.height - 1) * (e3.startBufferLine / this._bufferService.buffers.active.lines.length) - c[e3.position || "full"] / 2), l[e3.position || "full"], Math.round((this._canvas.height - 1) * ((e3.endBufferLine - e3.startBufferLine) / this._bufferService.buffers.active.lines.length) + c[e3.position || "full"]));
1090 }
1091 _queueRefresh(e3, t3) {
1092 this._shouldUpdateDimensions = e3 || this._shouldUpdateDimensions, this._shouldUpdateAnchor = t3 || this._shouldUpdateAnchor, void 0 === this._animationFrame && (this._animationFrame = this._coreBrowserService.window.requestAnimationFrame((() => {
1093 this._refreshDecorations(), this._animationFrame = void 0;

Callers 1

_refreshDecorationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected