From fbba74e89b16465a66318b5b4b43545a88d74d45 Mon Sep 17 00:00:00 2001 From: Mike Griese Date: Thu, 14 Oct 2021 15:47:34 -0500 Subject: [PATCH] I think we're going to have to cut this --- src/cascadia/TerminalApp/Pane.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/cascadia/TerminalApp/Pane.cpp b/src/cascadia/TerminalApp/Pane.cpp index f888cc84c..2f004ce8d 100644 --- a/src/cascadia/TerminalApp/Pane.cpp +++ b/src/cascadia/TerminalApp/Pane.cpp @@ -80,7 +80,7 @@ NewTerminalArgs Pane::GetTerminalArgsForPane() const assert(_IsLeaf()); NewTerminalArgs args{}; - auto controlSettings = _control.Settings();//.as(); + auto controlSettings = _control.Settings(); //.as(); args.Profile(controlSettings.ProfileName()); args.StartingDirectory(controlSettings.StartingDirectory()); @@ -103,11 +103,15 @@ NewTerminalArgs Pane::GetTerminalArgsForPane() const args.TabColor(winrt::Windows::Foundation::IReference(c)); } - if (controlSettings.AppliedColorScheme()) - { - auto name = controlSettings.AppliedColorScheme().Name(); - args.ColorScheme(name); - } + // TODO!: Will we be able to persist this? Or will runtime-changed settings + // always be lost? Think like, changing the font size with an action. That's + // lost. + // + // if (controlSettings.AppliedColorScheme()) + // { + // auto name = controlSettings.AppliedColorScheme().Name(); + // args.ColorScheme(name); + // } return args; }