diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/twtstr.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim index c88c5980..f7d16618 100644 --- a/src/utils/twtstr.nim +++ b/src/utils/twtstr.nim @@ -862,6 +862,7 @@ func makewidthtable*(cjk: bool): array[0..0x10FFFF, byte] {.noInit.} = func width*(r: Rune): int = {.cast(noSideEffect).}: return int(width_table[int(r)]) +{.pop.} func width*(s: string): int = for r in s.runes(): |