fix: clearing before setting color

This commit is contained in:
2025-05-08 13:03:16 -03:00
parent dd117a7ca2
commit 7305789194
+3 -2
View File
@@ -352,11 +352,12 @@ end
function drawCommandBar(w, y)
term.setCursorPos(1, y)
term.clearLine()
term.setBackgroundColor(colors.white)
term.setTextColor(colors.black)
term.clearLine()
term.write("$ ")
local startingIndex = commandBuffer:len() - w - 3