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

Method _processSGR0

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

Source from the content-addressed store, hash-verified

3261 t3.extended = t3.extended.clone(), (!~e3 || e3 > 5) && (e3 = 1), t3.extended.underlineStyle = e3, t3.fg |= 268435456, 0 === e3 && (t3.fg &= -268435457), t3.updateExtended();
3262 }
3263 _processSGR0(e3) {
3264 e3.fg = l.DEFAULT_ATTR_DATA.fg, e3.bg = l.DEFAULT_ATTR_DATA.bg, e3.extended = e3.extended.clone(), e3.extended.underlineStyle = 0, e3.extended.underlineColor &= -67108864, e3.updateExtended();
3265 }
3266 charAttributes(e3) {
3267 if (1 === e3.length && 0 === e3.params[0]) return this._processSGR0(this._curAttrData), true;
3268 const t3 = e3.length;

Callers 1

charAttributesMethod · 0.95

Calls 2

updateExtendedMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected