From 3051a31136542a59cb09273c3e37cc2333bd0299 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sat, 20 Sep 2025 02:23:38 +0300 Subject: [PATCH] irc: force UI refresh after local send/append; no need to reselect channel to see own messages Signed-off-by: Slendi --- main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.lua b/main.lua index 7c7c1a5..b07c7fa 100644 --- a/main.lua +++ b/main.lua @@ -270,6 +270,9 @@ function IrcChatView:appendLine(line, target) if self._ui_open and self.scroll_text_w and self.scroll_text_w.text_widget then self.scroll_text_w.text_widget:setText(buf) self.scroll_text_w:scrollToBottom() + if UIManager and self.frame and self.frame.dimen then + UIManager:setDirty(self, function() return "ui", self.frame.dimen end) + end end else -- increment unread counter for background target