[PR #17331] Replace tab.ActivePaneChanged handler with a method #31190

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

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

State: closed
Merged: Yes


I noticed this while working on #17330. We're constructing a whole lambda just to do this wacky weak_ref logic, and that feels... gross. We should just make this a bound method and a typed event, so we can just use the one event handler regardless

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17331 **State:** closed **Merged:** Yes --- I noticed this while working on #17330. We're constructing a whole lambda just to do this wacky weak_ref logic, and that feels... gross. We should just make this a bound method and a typed event, so we can just use the one event handler regardless
claunia added the pull-request label 2026-01-31 09:45:41 +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#31190