diff options
| author | ruki <[email protected]> | 2026-01-21 00:38:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-01-21 00:38:05 +0800 |
| commit | 4c08bae6d49e37102c0b889ff7afcc9f319435db (patch) | |
| tree | 4e6c7c4903b8a9145ca36992eb1aaad160d4c504 /xmake/core/base | |
| parent | 443fc30ae713b14623ac20bd5f1e8fdb12740783 (diff) | |
add utf8.width
Diffstat (limited to 'xmake/core/base')
| -rw-r--r-- | xmake/core/base/utf8.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/utf8.lua b/xmake/core/base/utf8.lua index dfcfdfbf0..fefb3c94d 100644 --- a/xmake/core/base/utf8.lua +++ b/xmake/core/base/utf8.lua @@ -32,6 +32,7 @@ local utf8 = utf8 or {} -- @interface utf8.sub(s, i [, j]) -- @interface utf8.lastof(s, pattern [, plain]) -- @interface utf8.find(s, pattern [, init [, plain]]) +-- @interface utf8.width(s) -- -- the char pattern |
