[PR #2446] Don't copy if there's no selection #24938

Open
opened 2026-01-31 09:06:13 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/2446

State: closed
Merged: Yes


Summary of the Pull Request

Converts every action we have to a TypedEventHandler. These are in accordance with #1349. This allows us to not handle some events, like the Copy event.

References

Really heavily inspired by #1349. @DHowett-MSFT thinks we should ship this fix this month an I agree. Hence the PR before the spec is finished.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

**Original Pull Request:** https://github.com/microsoft/terminal/pull/2446 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Converts every action we have to a TypedEventHandler. These are in accordance with #1349. This allows us to _not_ handle some events, like the Copy event. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References Really heavily inspired by #1349. @DHowett-MSFT thinks we should ship this fix this month an _I agree_. Hence the PR before the spec is finished. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #2285 * [x] I work here * [ ] Tests added/passed - ooh there's an idea <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed
claunia added the pull-request label 2026-01-31 09:06:13 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24938