fix: index calculation
This commit is contained in:
@@ -361,7 +361,7 @@ function drawCommandBar(w, y)
|
||||
|
||||
term.write("$ ")
|
||||
|
||||
local startingIndex = commandBuffer:len() - w - 3
|
||||
local startingIndex = commandBuffer:len() - w + 3
|
||||
if startingIndex < 0 then
|
||||
startingIndex = 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user