From dc2965a45f70a7e4b082a6e633cf357106f1b439 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 29 Dec 2022 23:38:42 +0000 Subject: shop --- shop.lua | 4 +--- 1 file changed, 1 insertion(+), 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)) -- cgit v1.2.3