Skip to content

Commit 63ba8e1

Browse files
committed
[PARENT] You know what, I just went for it.
1 parent 1b39db7 commit 63ba8e1

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
@@ -1280,14 +1280,7 @@ namespace winrt::TerminalApp::implementation
12801280
{
12811281
if (const auto activePane{ activeTab->GetActivePane() })
12821282
{
1283-
activePane;
1284-
// TODO! If we don't expose the IPaneContent, then there's no
1285-
// way to get a TerminalPaneContent to pass to
1286-
// _restartPaneConnection / _duplicateConnectionForRestart. We
1287-
// probably need to change the signature to accept a
1288-
// TermControl&Profile
1289-
1290-
// _restartPaneConnection(activePane);
1283+
_restartPaneConnection(activePane->GetContent().try_as<TerminalApp::TerminalPaneContent>(), nullptr);
12911284
}
12921285
}
12931286
args.Handled(true);

0 commit comments

Comments
 (0)