This commit is contained in:
navid.sassan 2021-04-02 16:34:48 +02:00
parent 7499119ac9
commit 198277afc2

View File

@ -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