From 2c7d1194003172f8ba04d5da5ed506803130f3f3 Mon Sep 17 00:00:00 2001 From: "navid.sassan" Date: Fri, 2 Apr 2021 16:53:16 +0200 Subject: [PATCH] testing --- energy_control | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)