aperezdc/lua-wcwidth

`display_width` in README

s-gilles opened this issue · 1 comments

I believe the len = len + 1 in the example display_width should be len = len + l (at least, it makes alignright("コンニチハ", 80) work as expected for me). Is this a typo, or do I misunderstand?

@s-gilles: You were right, that was a mistake and using l is the correct thing. I have fixed the README. Thanks!