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

Method dpr

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

Source from the content-addressed store, hash-verified

1821 this._window !== e3 && (this._window = e3, this._onWindowChange.fire(this._window));
1822 }
1823 get dpr() {
1824 return this.window.devicePixelRatio;
1825 }
1826 get isFocused() {
1827 return void 0 === this._cachedIsFocused && (this._cachedIsFocused = this._isFocused && this._textarea.ownerDocument.hasFocus(), queueMicrotask((() => this._cachedIsFocused = void 0))), this._cachedIsFocused;
1828 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected