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

Method _width

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

Source from the content-addressed store, hash-verified

1034 const n = i2(5871), o = i2(4725), a = i2(844), h = i2(2585), c = { full: 0, left: 0, center: 0, right: 0 }, l = { full: 0, left: 0, center: 0, right: 0 }, d = { full: 0, left: 0, center: 0, right: 0 };
1035 let _ = t2.OverviewRulerRenderer = class extends a.Disposable {
1036 get _width() {
1037 return this._optionsService.options.overviewRulerWidth || 0;
1038 }
1039 constructor(e3, t3, i3, s3, r2, o2, h2) {
1040 var _a;
1041 super(), this._viewportElement = e3, this._screenElement = t3, this._bufferService = i3, this._decorationService = s3, this._renderService = r2, this._optionsService = o2, this._coreBrowserService = h2, this._colorZoneStore = new n.ColorZoneStore(), this._shouldUpdateDimensions = true, this._shouldUpdateAnchor = true, this._lastKnownBufferLength = 0, this._canvas = this._coreBrowserService.mainDocument.createElement("canvas"), this._canvas.classList.add("xterm-decoration-overview-ruler"), this._refreshCanvasDimensions(), (_a = this._viewportElement.parentElement) == null ? void 0 : _a.insertBefore(this._canvas, this._viewportElement);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected