diff --git a/energy_control b/energy_control index 82610db..ce7d894 100644 --- a/energy_control +++ b/energy_control @@ -51,19 +51,19 @@ function recv() term.setCursorPos(1, 1) term.setTextColor(colors.white) term.setBackgroundColor(colors.black) - write('Press "R" to toggle the rainbows\n') + write('Press "R" to toggle the rainbows.\n') -- xPos, yPos = term.getCursorPos() -- term.setCursorPos(1,(yPos + 1)) term.write('Rainbows state: ') if redstone_toggle_state == true then term.setBackgroundColor(colors.green) - term.write('On') + write('On') elseif redstone_toggle_state == false then term.setBackgroundColor(colors.red) - term.write('Off') + write('Off') elseif redstone_toggle_state == nil then term.setBackgroundColor(colors.purple) - term.write('Unknown') + write('Unknown') end print() term.setBackgroundColor(colors.black)