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

Method charProperties

src/server/web/public/terminal.js:4646–4653  ·  view source on GitHub ↗
(e3, t3)

Source from the content-addressed store, hash-verified

4644 r2 = i3 - 1;
4645 }
4646 return false;
4647 })(e3, n) ? 0 : e3 >= 131072 && e3 <= 196605 || e3 >= 196608 && e3 <= 262141 ? 2 : 1;
4648 }
4649 charProperties(e3, t3) {
4650 let i3 = this.wcwidth(e3), r2 = 0 === i3 && 0 !== t3;
4651 if (r2) {
4652 const e4 = s2.UnicodeService.extractWidth(t3);
4653 0 === e4 ? r2 = false : e4 > i3 && (i3 = e4);
4654 }
4655 return s2.UnicodeService.createPropertyValue(0, i3, r2);
4656 }

Callers 2

printMethod · 0.45
charPropertiesMethod · 0.45

Calls 3

extractWidthMethod · 0.80
createPropertyValueMethod · 0.80
wcwidthMethod · 0.45

Tested by

no test coverage detected