From: Christian Heller Date: Thu, 11 Sep 2025 14:43:31 +0000 (+0200) Subject: Fix formatting of part and rename logs. X-Git-Url: https://plomlompom.com/repos/reset_cookie?a=commitdiff_plain;h=30524b711d5b2c064d59dd4b0e37e724bc0ff240;p=ircplom Fix formatting of part and rename logs. --- diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index ff84132..52853f5 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -245,11 +245,11 @@ class _UpdatingUser(_UpdatingNode, NickUserHost): return super()._focused_set_and_report_change(old_value, update) if super()._focused_set_and_report_change(old_value, update): scope = self._scope(update.key) - msg = 'RAW: ' + msg = 'RAW:' if update.key == 'nick': return scope, msg + f'{self.prev} renames {update.value}' if update.key == 'exit_msg' and update.value: - msg += f'{self}' + msg += f'{self} ' msg += 'quits' if update.value[0] == 'Q' else 'parts' if len(update.value) > 1: msg += ': ' + update.value[1:]