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

Method _refreshXPosition

src/server/web/public/terminal.js:977–981  ·  view source on GitHub ↗
(e3, t3 = e3.element)

Source from the content-addressed store, hash-verified

975 }
976 }
977 _refreshXPosition(e3, t3 = e3.element) {
978 if (!t3) return;
979 const i3 = e3.options.x ?? 0;
980 "right" === (e3.options.anchor || "left") ? t3.style.right = i3 ? i3 * this._renderService.dimensions.css.cell.width + "px" : "" : t3.style.left = i3 ? i3 * this._renderService.dimensions.css.cell.width + "px" : "";
981 }
982 _removeDecoration(e3) {
983 var _a;
984 (_a = this._decorationElements.get(e3)) == null ? void 0 : _a.remove(), this._decorationElements.delete(e3), e3.dispose();

Callers 2

_renderDecorationMethod · 0.80
_createElementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected