From 376d6a72543de7dc6945c23b3ac965c2a507c423 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 4 Aug 2022 02:41:41 +0100 Subject: chat --- chat.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chat.lua b/chat.lua index b7ce9e3..573d080 100644 --- a/chat.lua +++ b/chat.lua @@ -4,6 +4,7 @@ local M = peripheral.find"monitor" assert(M,"no monitor") M.setTextScale(0.5) +M.clear() local Mw,Mh = M.getSize() local scorewidth=10 local lbw = 4+16+scorewidth @@ -11,7 +12,7 @@ local wLog = window.create(M,1,1,Mw-lbw,Mh) -- wLog.setBackgroundColor(colors.blue) -- wLog.clear() -- wLog.write("LOG") -local wLb = window.create(M,Mw-lbw+1,1,lbw,11) +local wLb = window.create(M,Mw-lbw+1,1,lbw-1,11) -- wLb.setBackgroundColor(colors.red) -- wLb.clear() -- wLb.write("LB") -- cgit v1.2.3