diff --git a/bures-monitor.lua b/bures-monitor.lua index 6dee106..7120c26 100644 --- a/bures-monitor.lua +++ b/bures-monitor.lua @@ -30,11 +30,14 @@ local function printBuRes() for name, list in pairs(buRes) do term.setTextColor(colors.black) term.setBackgroundColor(colors.white) + term.clearLine() print(name) term.setTextColor(colors.white) term.setBackgroundColor(colors.black) for key, value in pairs(list) do - print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count) + if value.status == "NEED_MORE" then + print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count) + end end end end