summaryrefslogtreecommitdiff
path: root/john.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 03:31:20 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 03:31:20 +0100
commitd262b443e0675cba334ec146adbeb2806c7c48b9 (patch)
treec383a0cfd28f045cb846d7356ccc066392962aff /john.lua
parent1f471149968dd51518213c3e2f3a3618daabff8d (diff)
launch john
Diffstat (limited to 'john.lua')
-rw-r--r--john.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/john.lua b/john.lua
index b083539..bdbae96 100644
--- a/john.lua
+++ b/john.lua
@@ -22,9 +22,7 @@ for ix,iname in ipairs(monitors) do
local mon = peripheral.wrap(iname)
mon.clear()
mon.setTextScale(0.5)
- local t = term.redirect(mon)
- local _, bee = pcall(function() fb:present(xoffs,0) end)
- term.redirect(t)
+ local _, bee = pcall(function() fb:present(mon,xoffs,0) end)
xoffs = xoffs + (mon.getSize())*2 + 8
print(bee)
end