From c3200a06210fb60b0d0d9dc4ef04387c65d725c1 Mon Sep 17 00:00:00 2001 From: "navid.sassan" Date: Fri, 2 Apr 2021 16:51:34 +0200 Subject: [PATCH] testing --- energy_control | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/energy_control b/energy_control index 4b757e4..a0b7414 100644 --- a/energy_control +++ b/energy_control @@ -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)