summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/shop.lua b/shop.lua
index c0d5d4b..3319853 100644
--- a/shop.lua
+++ b/shop.lua
@@ -94,9 +94,6 @@ function run_shop()
if msg.type ~= "keepalive" then print(msgtxt) end
if msg.type == "response" and msg.responding_to_type == "me" then
our_addr = msg.address.address
- local m = peripheral.wrap"left"
- m.setCursorPos(1,1)
- m.write(our_addr)
end
if msg.type == "event" and msg.event == "transaction" then
require"cc.pretty".pretty_print(proctrans(msg.transaction))
@@ -130,6 +127,7 @@ end
function run_sidedisp()
local m = peripheral.wrap("left")
+ m.clear()
local function printseq(q)
for _,v in ipairs(q) do
print(v,type(v))