progress but we somehow got heap corruption

must fix the heap corruption
This commit is contained in:
2026-02-15 20:27:47 +01:00
parent 51224a46a2
commit 76589e67dd
6 changed files with 586 additions and 77 deletions

View File

@@ -168,6 +168,12 @@ unicode.wtrunc = function(str,space)
return unicode.sub(str, 1, space)
end
unicode.reverse = string.reverse
unicode.charWidth = function(s)
return 1
end
unicode.sub = function(str, a, b)
if not b then b = utf8.len(str) end
if not a then a = 1 end