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

Method _setDefaultSpacing

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

Source from the content-addressed store, hash-verified

1277 t3 += `${this._terminalSelector} .${g}${a.INVERTED_DEFAULT_COLOR} { color: ${d.color.opaque(e3.background).css}; }${this._terminalSelector} .${g}${a.INVERTED_DEFAULT_COLOR}.xterm-dim { color: ${d.color.multiplyOpacity(d.color.opaque(e3.background), 0.5).css}; }${this._terminalSelector} .${m}${a.INVERTED_DEFAULT_COLOR} { background-color: ${e3.foreground.css}; }`, this._themeStyleElement.textContent = t3;
1278 }
1279 _setDefaultSpacing() {
1280 const e3 = this.dimensions.css.cell.width - this._widthCache.get("W", false, false);
1281 this._rowContainer.style.letterSpacing = `${e3}px`, this._rowFactory.defaultSpacing = e3;
1282 }
1283 handleDevicePixelRatioChange() {
1284 this._updateDimensions(), this._widthCache.clear(), this._setDefaultSpacing();
1285 }

Callers 4

constructorMethod · 0.80
handleCharSizeChangedMethod · 0.80
_handleOptionsChangedMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected