1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/lib/ui
Karel Balej dbe350a585 msgview: add copy-link command
Add a command to copy links to the system clipboard. This can be useful
for instance when the URL should be handled in some other way than
opened (e. g. resent via some other communication channel or saved to a
file). It also improves security for situations where it's not desirable
for the URL to be visible on the process command line, such as when it
contains sensitive information such as an access token.

Adapted from open-link.

Changelog-added: If supported by the terminal, links from a message
 can now be copied to the system clipboard with the :copy-link command
 of the message viewer.
Signed-off-by: Karel Balej <balejk@matfyz.cz>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-02-06 13:59:24 +01:00
..
borders.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
box.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
context.go ui: fix the position of the address-book completion popovers 2025-01-18 11:17:20 +01:00
fill.go fill: replace tcell.Style with vaxis.Style 2024-02-12 13:48:47 +01:00
grid.go treewide: fix English spelling 2025-01-21 13:39:01 +01:00
interfaces.go ui: initialize vaxis directly, drop tcell.Screen initialization 2024-02-12 13:48:46 +01:00
popover.go aerc: change event interfaces to vaxis events 2024-02-12 13:48:42 +01:00
stack.go mouse: use vaxis mouse events 2024-02-12 13:48:56 +01:00
string.go vaxis: update to v0.7.2 and update ansi parser 2024-02-12 13:49:14 +01:00
tab.go tab: fix broken history on removal 2025-01-10 17:07:33 +01:00
table.go vaxis: update to v0.7.2 and update ansi parser 2024-02-12 13:49:14 +01:00
text.go style: use vaxis style everywhere 2024-02-12 13:48:50 +01:00
textinput.go textinput: make completions run async with cancellation 2024-10-24 22:13:51 +02:00
textinput_test.go ui: make textinput grapheme aware 2024-07-02 22:12:45 +02:00
ui.go msgview: add copy-link command 2025-02-06 13:59:24 +01:00