Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ visualLength
Function
visualLength
packages/effect/src/unstable/cli/CliOutput.ts:386–386 ·
view source on GitHub ↗
(text: string)
Source
from the content-addressed store, hash-verified
384
* @internal
385
*/
386
const
visualLength = (text: string): number => stripAnsi(text).length
387
388
/**
389
* Helper
function
to pad strings to a specified width.
Callers
2
pad
Function · 0.85
renderTable
Function · 0.85
Calls
1
stripAnsi
Function · 0.70
Tested by
no test coverage detected