Skip to content

Commit 5582e1b

Browse files
committed
[PARENT] You know what, I just went for it.
(cherry picked from commit 63ba8e1)
1 parent 11126f9 commit 5582e1b

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/cascadia/TerminalApp/AppActionHandlers.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -1290,14 +1290,7 @@ namespace winrt::TerminalApp::implementation
12901290
{
12911291
if (const auto activePane{ activeTab->GetActivePane() })
12921292
{
1293-
activePane;
1294-
// TODO! If we don't expose the IPaneContent, then there's no
1295-
// way to get a TerminalPaneContent to pass to
1296-
// _restartPaneConnection / _duplicateConnectionForRestart. We
1297-
// probably need to change the signature to accept a
1298-
// TermControl&Profile
1299-
1300-
// _restartPaneConnection(activePane);
1293+
_restartPaneConnection(activePane->GetContent().try_as<TerminalApp::TerminalPaneContent>(), nullptr);
13011294
}
13021295
}
13031296
args.Handled(true);

0 commit comments

Comments
 (0)