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

Method window

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

Source from the content-addressed store, hash-verified

1815 super(), this._textarea = e3, this._window = t3, this.mainDocument = i3, this._isFocused = false, this._cachedIsFocused = void 0, this._screenDprMonitor = new a(this._window), this._onDprChange = this.register(new r.EventEmitter()), this.onDprChange = this._onDprChange.event, this._onWindowChange = this.register(new r.EventEmitter()), this.onWindowChange = this._onWindowChange.event, this.register(this.onWindowChange(((e4) => this._screenDprMonitor.setWindow(e4)))), this.register((0, r.forwardEvent)(this._screenDprMonitor.onDprChange, this._onDprChange)), this._textarea.addEventListener("focus", (() => this._isFocused = true)), this._textarea.addEventListener("blur", (() => this._isFocused = false));
1816 }
1817 get window() {
1818 return this._window;
1819 }
1820 set window(e3) {
1821 this._window !== e3 && (this._window = e3, this._onWindowChange.fire(this._window));
1822 }

Callers

nothing calls this directly

Calls 1

fireMethod · 0.80

Tested by

no test coverage detected