This commit is contained in:
navid.sassan 2021-04-02 16:51:34 +02:00
parent 5e1a841c3f
commit c3200a0621

View File

@ -51,7 +51,9 @@ function recv()
term.setCursorPos(0, 0)
term.setTextColor(colors.white)
term.setBackgroundColor(colors.black)
term.write('Press "R" to toggle the rainbows\n')
term.write('Press "R" to toggle the rainbows')
xPos, yPos = term.getCursorPos()
term.setCursorPos(1,(yPos + 1))
term.write('Rainbows state: ')
if redstone_toggle_state == true then
term.setBackgroundColor(colors.green)