summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--echest.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/echest.lua b/echest.lua
index b115323..1b84a75 100644
--- a/echest.lua
+++ b/echest.lua
@@ -25,10 +25,13 @@ local p = assert((peripheral.find"ender_storage"))
-- end
for x=0,15 do for y=0,15 do for z=0,15 do
- print(x,y,z)
+ term.clearLine()
+ local _,line = term.getCursorPos()
+ term.setCursorPos(1,line)
+ io.write(("%d %d %d "):format(x,y,z))
p.setFrequency(2^x, 2^y, 2^z)
local name = p.getName()
if name ~= nil then
- print(x,y,z,name)
+ print(name)
end
end end end