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

Method handleDevicePixelRatioChange

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

Source from the content-addressed store, hash-verified

7051 return (_a = this._charAtlas) == null ? void 0 : _a.pages[0].canvas;
7052 }
7053 _handleColorChange() {
7054 this._refreshCharAtlas(), this._clearModel(true);
7055 }
7056 handleDevicePixelRatioChange() {
7057 this._devicePixelRatio !== this._coreBrowserService.dpr && (this._devicePixelRatio = this._coreBrowserService.dpr, this.handleResize(this._terminal.cols, this._terminal.rows));
7058 }

Callers

nothing calls this directly

Calls 1

handleResizeMethod · 0.95

Tested by

no test coverage detected