1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/commands/msgview
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
..
copy-link.go msgview: add copy-link command 2025-02-06 13:59:24 +01:00
next-part.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00
open-link.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00
open.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
save.go completion: add command option descriptions 2024-10-23 10:22:51 +02:00
save_test.go save: fix saving of multiple files with the same name 2023-06-17 23:19:24 +02:00
toggle-headers.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00
toggle-key-passthrough.go completion: add commands descriptions 2024-10-23 10:22:51 +02:00