From 278e129f9fb245a8978dcc5eae8bc55026b361b4 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 8 Jan 2023 21:58:08 +0000 Subject: shop2 --- shop2/disp.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shop2/disp.lua b/shop2/disp.lua index a28b0f9..eb06625 100644 --- a/shop2/disp.lua +++ b/shop2/disp.lua @@ -53,9 +53,10 @@ local function disp_shopscreen(items) -- took stock before clear, to avoid flickering mon.clear() mon.setTextScale(1) + local w,h = mon.getSize() printseq(mon) { - {1,1}, colors.orange, "BEE MART", + {1,1}, colors.orange, centre("BEE MART",w), {1,2}, colors.lightGray, "Stock Price Adr. Name", } @@ -74,7 +75,6 @@ local function disp_shopscreen(items) fmt_row(ix+2, idesc,amt) end - local w,h = mon.getSize() printseq(mon) { {1,h-1}, colors.blue, centre("/pay @"..ourname.." ",w) -- cgit v1.2.3