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