Add a helper function to initialize TermControls in TerminalPage#9296
Conversation
DHowett
left a comment
There was a problem hiding this comment.
I'd like to see if there's a little more we can do here. There must be more code that's duplicated between these functions 😄
|
This pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
|
blah |
|
I can't remember what made me balk at this -- I tried to talk about considering terminal control creation as a "data flow" pipeline: and then Pankaj convinced me that that's pretty much what we already had with this PR. |
|
Hello @DHowett! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Since #8602 merged, we need to pass a child of the settings object to
the TermControl upon initializing it. Since this happens in a few places
in
TerminalPage, its probably best to use a helper.Closes #9292