From 11e7b6e3e47d953a57fb72d4089cb2db4a39d83c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 4 Aug 2022 03:58:04 +0100 Subject: chat --- chat.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat.lua b/chat.lua index 30ba4d3..8fad798 100644 --- a/chat.lua +++ b/chat.lua @@ -117,7 +117,7 @@ local function log_msg(W,user,text,score) st(colors.white) wr"<" st(colors.orange) wr(user) st(colors.white) wr"> (" st(colors.cyan) wr(score) st(colors.white) wr(") ") st(colors.lightGray) - local x,y = W.getCursorPos + local x,y = W.getCursorPos() local remsp = w-x+1 if remsp >= 3 then if #text > remsp then -- cgit v1.2.3