fix: clearing before setting color
This commit is contained in:
@@ -352,11 +352,12 @@ end
|
|||||||
|
|
||||||
function drawCommandBar(w, y)
|
function drawCommandBar(w, y)
|
||||||
term.setCursorPos(1, y)
|
term.setCursorPos(1, y)
|
||||||
term.clearLine()
|
|
||||||
|
|
||||||
term.setBackgroundColor(colors.white)
|
term.setBackgroundColor(colors.white)
|
||||||
term.setTextColor(colors.black)
|
term.setTextColor(colors.black)
|
||||||
|
|
||||||
|
term.clearLine()
|
||||||
|
|
||||||
term.write("$ ")
|
term.write("$ ")
|
||||||
|
|
||||||
local startingIndex = commandBuffer:len() - w - 3
|
local startingIndex = commandBuffer:len() - w - 3
|
||||||
|
|||||||
Reference in New Issue
Block a user