Thanks neutral :)

This commit is contained in:
Mark Qvist
2026-05-20 01:22:08 +02:00
parent 1e8b0780e0
commit 0c38f2dcdf
3 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -156,7 +156,7 @@ class NomadNetworkApp:
self.rrc_history_per_room_cap = 500
self.rrc_filter_loaded_history = True
self.rrc_ephemeral_notices = 600
self.rrc_ui_justify_msgs = False
self.rrc_ui_justify_msgs = True
self.rrc_ui_space_msgs = False
self.rrc_ui_render_markdown = True
self.rrc_ui_render_micron = True
@@ -936,7 +936,7 @@ class NomadNetworkApp:
if option == "justify_msgs":
try: value = self.config["rrc"].as_bool(option)
except Exception: value = False
except Exception: value = True
self.rrc_ui_justify_msgs = value
if option == "space_msgs":
@@ -1296,7 +1296,7 @@ ephemeral_notices = 10
# Other display and formatting options:
render_markdown = yes
render_micron = yes
justify_msgs = no
justify_msgs = yes
space_msgs = no
[node]
+1 -1
View File
@@ -985,7 +985,7 @@ def _message_widget(app, hub, m, link_delegate=None):
nick_micron = f"`f{nick_attr}<{sender}>`f "
if app.rrc_ui_justify_msgs:
prefix_rendered = _render_body(f"{prefix_micron}", fg=t["text"])
body_rendered = _render_body(f"{nick_micron}{message_body}", fg=t["text"])
body_rendered = _render_body(f"{nick_micron}{message_body}", link_delegate=ld, fg=t["text"])
if app.rrc_ui_space_msgs: body_rendered.append(urwid.Text(""))
columns = urwid.Columns([(urwid.PACK, urwid.Pile(prefix_rendered)), urwid.Pile(body_rendered)], dividechars=1)
final_widget = urwid.Padding(columns, left=1)
+1 -1
View File
@@ -812,7 +812,7 @@ Whether or not to render micron formatting in messages. When using micron in mes
<
>>>
`!justify_msgs = no`!
`!justify_msgs = yes`!
`!space_msgs = no`!
>>>>
Rendering layout options for messages.