summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")