feat: add cursor blinking

This commit is contained in:
2025-05-08 13:13:58 -03:00
parent b6b35cfd2f
commit 77da21f1e7
+2 -1
View File
@@ -368,12 +368,13 @@ function drawCommandBar(w, y)
term.write("$ ")
local startingIndex = commandBuffer:len() - w + 3
local startingIndex = commandBuffer:len() - w + 4
if startingIndex < 0 then
startingIndex = 0
end
term.write(commandBuffer:sub(startingIndex))
term.setCursorBlink(true)
end
--[[