mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #159] Honor selection for copying via Ctrl-C? #95
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#95
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 @cpfeiffer on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/matze/wastebin/issues/159
Pressing Ctrl-C will always copy the entire paste, even if the user selected just parts of it.
IMHO it would be sensible to honor the user's selection (if any) and copy only that.
@matze commented on GitHub (Apr 28, 2025):
It does for me? On Firefox.
@cpfeiffer commented on GitHub (Apr 28, 2025):
Oh, indeed. It doesn't do that in chromium.
@matze commented on GitHub (May 18, 2025):
I will close that due to browser implementation differences I cannot control without adding more JS and intercepting Ctrl-C.
@makkarpov commented on GitHub (Nov 13, 2025):
If so, there should be an option to disable this feature entirely.
I have never needed "C" as a shortcut for copying an entire paste, and I have never used it that way. Yet this feature repeatedly interferes with the standard Ctrl+C command, which is used far more often. Even if I did need the full-paste copy action, I could simply use the mouse to click the "Copy" button on the screen — that is not something which needs a super-fast shortcut.
The most destructive failure case of this "feature" would be trying to copy a single line from the paste into the terminal and instead pasting the entire thing — line breaks, commands, and all. By the time you realized what happened, everything would already be executed.
@matze commented on GitHub (Nov 13, 2025):
Okay, okay, re-opening the issue.