From 227d415c242270fd2aab1af2ec4f5f97191242ab Mon Sep 17 00:00:00 2001 From: Username Date: Tue, 24 Feb 2026 12:41:09 +0100 Subject: [PATCH] fix: enable rich markup in chat log RichLog defaults markup=False, so all Rich console markup tags ([dim], [#9ece6a], etc.) rendered as literal text. Pass markup=True in ChatLog constructor. --- src/tuimble/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tuimble/app.py b/src/tuimble/app.py index 084b02d..98a1b8d 100644 --- a/src/tuimble/app.py +++ b/src/tuimble/app.py @@ -186,7 +186,8 @@ class ChannelTree(Static): class ChatLog(RichLog): """Message log.""" - pass + def __init__(self, **kwargs) -> None: + super().__init__(markup=True, **kwargs) # -- main app ----------------------------------------------------------------