Remove Modifying Active Buffer Ambiguity #3893

Open
opened 2026-01-30 23:32:39 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Sep 16, 2019).

Is this indicative of a larger problem? Should we file an outstanding work item to audit all sites of manipulating the active buffer and/or somehow change the design such that the methods cannot accidentally be called without resolving which one is the active one first?

For the latter, my proposal would be to hide all the verbage methods off the base class and implement some sort of interface that holds them that is only returned when/if someone has correctly queried for the active one first. I'd accept competing proposals, though.

Originally posted by @miniksa in https://github.com/microsoft/terminal/pull/2729#issuecomment-530923095

Originally created by @carlos-zamora on GitHub (Sep 16, 2019). > Is this indicative of a larger problem? Should we file an outstanding work item to audit all sites of manipulating the active buffer and/or somehow change the design such that the methods cannot accidentally be called without resolving which one is the active one first? For the latter, my proposal would be to hide all the verbage methods off the base class and implement some sort of interface that holds them that is only returned when/if someone has correctly queried for the active one first. I'd accept competing proposals, though. _Originally posted by @miniksa in https://github.com/microsoft/terminal/pull/2729#issuecomment-530923095_
claunia added the Product-ConhostIssue-TaskResolution-DuplicateArea-CodeHealth labels 2026-01-30 23:32:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3893