We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11126f9 commit 5582e1bCopy full SHA for 5582e1b
src/cascadia/TerminalApp/AppActionHandlers.cpp
@@ -1290,14 +1290,7 @@ namespace winrt::TerminalApp::implementation
1290
{
1291
if (const auto activePane{ activeTab->GetActivePane() })
1292
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);
+ _restartPaneConnection(activePane->GetContent().try_as<TerminalApp::TerminalPaneContent>(), nullptr);
1301
}
1302
1303
args.Handled(true);
0 commit comments