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

Method handleBlur

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

Source from the content-addressed store, hash-verified

7063 this._canvas.width = this.dimensions.device.canvas.width, this._canvas.height = this.dimensions.device.canvas.height, this._canvas.style.width = `${this.dimensions.css.canvas.width}px`, this._canvas.style.height = `${this.dimensions.css.canvas.height}px`, this._core.screenElement.style.width = `${this.dimensions.css.canvas.width}px`, this._core.screenElement.style.height = `${this.dimensions.css.canvas.height}px`, (_a = this._rectangleRenderer.value) == null ? void 0 : _a.setDimensions(this.dimensions), (_b = this._rectangleRenderer.value) == null ? void 0 : _b.handleResize(), (_c = this._glyphRenderer.value) == null ? void 0 : _c.setDimensions(this.dimensions), (_d = this._glyphRenderer.value) == null ? void 0 : _d.handleResize(), this._refreshCharAtlas(), this._clearModel(false);
7064 }
7065 handleCharSizeChanged() {
7066 this.handleResize(this._terminal.cols, this._terminal.rows);
7067 }
7068 handleBlur() {
7069 var _a;
7070 for (const e3 of this._renderLayers) e3.handleBlur(this._terminal);
7071 (_a = this._cursorBlinkStateManager.value) == null ? void 0 : _a.pause(), this._requestRedrawViewport();
7072 }

Callers

nothing calls this directly

Calls 3

handleBlurMethod · 0.45
pauseMethod · 0.45

Tested by

no test coverage detected