diff options
-rw-r--r-- | john.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,16 +23,17 @@ for ix,iname in ipairs(monitors) do total_width = total_width + (mon.getSize())*2 end local leftover = total_width - W +print("mmm",total_width,W,leftover) local xoffs = math.floor(leftover/2) for ix,iname in ipairs(monitors) do - print("doing",ix,iname) + print("doing",ix,iname,"at",xoffs) local mon = peripheral.wrap(iname) mon.clear() mon.setTextScale(0.5) local _, bee = pcall(function() fb:present(mon,xoffs,0) end) xoffs = xoffs + (mon.getSize())*2 + 8 - print(bee) + -- print(bee) end -- local m = peripheral.wrap "bottom" |