fix: index calculation

This commit is contained in:
2025-05-08 13:08:07 -03:00
parent 67b1e7b7d9
commit 588f56075c
+1 -1
View File
@@ -361,7 +361,7 @@ function drawCommandBar(w, y)
term.write("$ ") term.write("$ ")
local startingIndex = commandBuffer:len() - w - 3 local startingIndex = commandBuffer:len() - w + 3
if startingIndex < 0 then if startingIndex < 0 then
startingIndex = 0 startingIndex = 0
end end