Skip to content

Commit 82bccd4

Browse files
committed
Use faster duospace-width-core in RenderSpan.width
1 parent 8bebe95 commit 82bccd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Terminal/Widgets/TextContent.rakumod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class RenderSpan is export {
3636

3737
#| Lazily calculate and cache duospace width
3838
method width(--> UInt:D) {
39-
$!width //= duospace-width($!text)
39+
$!width //= duospace-width-core($!text)
4040
}
4141
}
4242

0 commit comments

Comments
 (0)