summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shop2/disp.lua4
1 files 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 <adr>@"..ourname.." <amount>",w)