testing
This commit is contained in:
parent
7499119ac9
commit
198277afc2
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user