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

Method _initCanvas

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

Source from the content-addressed store, hash-verified

7213 this._refreshCharAtlas(e3, t4), this.reset(e3);
7214 }))), this.register((0, n.toDisposable)((() => {
7215 this._canvas.remove();
7216 })));
7217 }
7218 _initCanvas() {
7219 this._ctx = (0, o.throwIfFalsy)(this._canvas.getContext("2d", { alpha: this._alpha })), this._alpha || this._clearAll();
7220 }

Callers 2

constructorMethod · 0.95
_setTransparencyMethod · 0.95

Calls 1

_clearAllMethod · 0.95

Tested by

no test coverage detected