MCPcopy
hub / github.com/codeaashu/claude-code / constructor

Method constructor

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

Source from the content-addressed store, hash-verified

1830 t2.CoreBrowserService = o;
1831 class a extends s2.Disposable {
1832 constructor(e3) {
1833 super(), this._parentWindow = e3, this._windowResizeListener = this.register(new s2.MutableDisposable()), this._onDprChange = this.register(new r.EventEmitter()), this.onDprChange = this._onDprChange.event, this._outerListener = () => this._setDprAndFireIfDiffers(), this._currentDevicePixelRatio = this._parentWindow.devicePixelRatio, this._updateDpr(), this._setWindowResizeListener(), this.register((0, s2.toDisposable)((() => this.clearListener())));
1834 }
1835 setWindow(e3) {
1836 this._parentWindow = e3, this._setWindowResizeListener(), this._setDprAndFireIfDiffers();
1837 }

Callers

nothing calls this directly

Calls 13

_updateDprMethod · 0.95
clearListenerMethod · 0.95
_setupOptionsMethod · 0.95
_initCanvasMethod · 0.95
_refreshCharAtlasMethod · 0.95
toStringMethod · 0.65
resetMethod · 0.65
registerMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected