From b0cc0c1d0d4350c9957bb9c4ae0ed80c126c216c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 22:31:51 +0100 Subject: launch echest --- echest.lua | 7 +++++-- 1 file 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 -- cgit v1.2.3