mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 16:45:59 +03:00
[GH-ISSUE #72] Improve selection of paste content #51
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cgzones on GitHub (Sep 22, 2024).
Original GitHub issue: https://github.com/matze/wastebin/issues/72
When selecting the content of a paste either via
Ctrl-aor via mouse selection extra newlines are included.E.g. with a paste of
Ctrl-aresults on chromium inand on firefox in
Selecting the content via mouse works on chromium, but on Firefox the result is
@matze commented on GitHub (Oct 26, 2024):
It's hard. We could do things like intercepting Ctrl-C, using the selection and manually insert the massaged text into the clipboard but … not sure if that is super portable. I'll keep it open and up for grabs.
@cgzones commented on GitHub (Oct 26, 2024):
With the following patch I got it to work on chromium, but firefox still includes two newlines at the start and at the end: