diff --git a/energy_control b/energy_control index 61ee3ae..e323637 100644 --- a/energy_control +++ b/energy_control @@ -45,8 +45,8 @@ end function draw_screen() while true do - -- term.clear() - -- term.setCursorPos(0, 0) + term.clear() + term.setCursorPos(0, 0) term.setTextColor(colors.white) term.setBackgroundColor(colors.black) print('Press "R" to toggle the rainbows') @@ -58,8 +58,9 @@ function draw_screen() term.setBackgroundColor(colors.red) term.write('Off') end + print() term.setBackgroundColor(colors.black) - sleep(0.5) + sleep(3) end end