diff options
author | ubq323 <ubq323@ubq323.website> | 2022-08-04 02:41:41 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2022-08-04 02:41:41 +0100 |
commit | 376d6a72543de7dc6945c23b3ac965c2a507c423 (patch) | |
tree | d91d5aaf8169928d923ac7a99938b9aa21a20fd5 | |
parent | c0b41a20dc73f70d0fd4f9b41a45015a17633908 (diff) |
chat
-rw-r--r-- | chat.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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") |