make clipboard copy an opt-in feature

This commit is contained in:
Jeremy O'Brien 2026-05-21 21:24:15 -04:00
parent 475c0ee2a0
commit e492cfbce0
4 changed files with 39 additions and 17 deletions

View file

@ -2634,7 +2634,7 @@ class LXMessageWidget(urwid.WidgetWrap):
content_text = message.get_content()
if content_text:
if content_text and app.config["textui"]["clipboard_copy"]:
copy_glyph = g.get("copy", "[C]")
check_glyph = g.get("check", "v").center(len(copy_glyph))
copy_icon = ClickableIcon(copy_glyph)