summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--echest.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/echest.lua b/echest.lua
index 6a769ff..26a8577 100644
--- a/echest.lua
+++ b/echest.lua
@@ -28,11 +28,10 @@ for x=0,15 do for y=0,15 do for z=0,15 do
term.clearLine()
local _,line = term.getCursorPos()
term.setCursorPos(1,line)
- io.write(("%d %d %d "):format(x,y,z))
+ term.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(name)
+ term.write(name.."\n")
end
- os.sleep(0.1)
end end end