From: Olav Bakke Svendsen Date: Thu, 12 Oct 2023 06:12:49 +0000 (+0200) Subject: Coloring X-Git-Tag: stable-steam~13 X-Git-Url: http://git.olavbs.no/?a=commitdiff_plain;h=60550a883dcf7ff5bedb285c414c5b6b74c30e9e;p=cc.git Coloring --- diff --git a/steam/temporary-coal-feeder.lua b/steam/temporary-coal-feeder.lua index 306d813..80a64bf 100644 --- a/steam/temporary-coal-feeder.lua +++ b/steam/temporary-coal-feeder.lua @@ -80,7 +80,8 @@ local print_stats = function(monitor, stock) monitor.write(string.gsub(str, "^%s++%s*", "")) monitor.setCursorPos(1,12) monitor.write("refreshes once every minute") - + + monitor.setTextColor(1) coal_at_boot = coal_at_boot or total_coal minutes_passed = minutes_passed + 1 if minutes_passed < 0 then