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

Method constructor

src/server/web/public/terminal.js:1814–1816  ·  view source on GitHub ↗
(e3, t3, i3)

Source from the content-addressed store, hash-verified

1812 const s2 = i2(844), r = i2(8460), n = i2(3656);
1813 class o extends s2.Disposable {
1814 constructor(e3, t3, i3) {
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 }

Callers

nothing calls this directly

Calls 7

resetMethod · 0.95
resizeMethod · 0.95
setupTabStopsMethod · 0.95
setWindowMethod · 0.80
fireMethod · 0.80
registerMethod · 0.45

Tested by

no test coverage detected