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

Method modifyColors

src/server/web/public/terminal.js:2340–2342  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

2338 else for (let e4 = 0; e4 < this._restoreColors.ansi.length; ++e4) this._colors.ansi[e4] = this._restoreColors.ansi[e4];
2339 }
2340 modifyColors(e3) {
2341 e3(this._colors), this._onChangeColors.fire(this.colors);
2342 }
2343 _updateRestoreColors() {
2344 this._restoreColors = { foreground: this._colors.foreground, background: this._colors.background, cursor: this._colors.cursor, ansi: this._colors.ansi.slice() };
2345 }

Callers 1

_handleColorEventMethod · 0.80

Calls 2

e3Class · 0.85
fireMethod · 0.80

Tested by

no test coverage detected