summaryrefslogtreecommitdiff
path: root/chat.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-04 02:41:41 +0100
committerubq323 <ubq323@ubq323.website>2022-08-04 02:41:41 +0100
commit376d6a72543de7dc6945c23b3ac965c2a507c423 (patch)
treed91d5aaf8169928d923ac7a99938b9aa21a20fd5 /chat.lua
parentc0b41a20dc73f70d0fd4f9b41a45015a17633908 (diff)
chat
Diffstat (limited to 'chat.lua')
-rw-r--r--chat.lua3
1 files changed, 2 insertions, 1 deletions
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")