Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codeaashu/claude-code
/ charWidth
Function
charWidth
src/native-ts/color-diff/index.ts:659–661 ·
view source on GitHub ↗
(ch: string)
Source
from the content-addressed store, hash-verified
657
}
658
659
function
charWidth(ch: string): number {
660
return
stringWidth(ch)
661
}
662
663
function
wrapText(h: Highlight, width: number, theme: Theme): void {
664
const
newLines: Block[][] = []
Callers
1
wrapText
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected