mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-11-30 03:46:39 -05:00
make clipboard copy an opt-in feature
This commit is contained in:
parent
475c0ee2a0
commit
e492cfbce0
4 changed files with 39 additions and 17 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue