package wcwidth
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Get terminal display width of a string
Install
dune-project
Dependency
Authors
Maintainers
Sources
v1.1.0.tar.gz
md5=1efe8d35df972a05b9c041c2918c7c60
sha512=f3ebb5977894d2659bf6c13c8d6b744bdab79d425dde1b85aeac999776d3e705f3a2f9e36f6f3c2c12190a4b4466059029dd22edaab3c3f38bc2853bc038a8e3
doc/wcwidth/Wcwidth/index.html
Module WcwidthSource
Get the display width of a Unicode character. Returns -1 if the character is unprintable. (Note that there isn't actually a good way to actually input a single Unicode character. For example, you can't use a character literal. You can use to_utf8, though.)
Get the display width of a string. Returns -1 if any of the characters within it are unprintable. Note especially that line feeds and carriage returns WILL return -1, so make sure the string you're passing doesn't contain those.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>