diff --git a/claw/code-claw.lua b/claw/code-claw.lua index 9d3f059..c64f021 100644 --- a/claw/code-claw.lua +++ b/claw/code-claw.lua @@ -3,7 +3,7 @@ return { ["neo"] = { desc = "KittenOS NEO Kernel & Base Libs", - v = 9, + v = 10, deps = { }, dirs = { diff --git a/code/libs/neoux.lua b/code/libs/neoux.lua index 28da638..4bba3e0 100644 --- a/code/libs/neoux.lua +++ b/code/libs/neoux.lua @@ -339,7 +339,8 @@ newNeoux = function (event, neo) end -- Note: w should be at least 2 - this is similar to buttons. neoux.tcfield = function (x, y, w, textprop) - local p = 1 + -- compat. workaround for apps which nuke tcfields + local p = unicode.len(textprop()) + 1 return { x = x, y = y,