diff --git a/src/cascadia/TerminalSettingsEditor/Compatibility.h b/src/cascadia/TerminalSettingsEditor/Compatibility.h index eb8c03b3af..8ee50400d9 100644 --- a/src/cascadia/TerminalSettingsEditor/Compatibility.h +++ b/src/cascadia/TerminalSettingsEditor/Compatibility.h @@ -25,6 +25,7 @@ namespace winrt::Microsoft::Terminal::Settings::Editor::implementation PERMANENT_OBSERVABLE_PROJECTED_SETTING(_GlobalSettings, AllowKeypadMode); PERMANENT_OBSERVABLE_PROJECTED_SETTING(_GlobalSettings, AllowHeadless); PERMANENT_OBSERVABLE_PROJECTED_SETTING(_GlobalSettings, IsolatedMode); + PERMANENT_OBSERVABLE_PROJECTED_SETTING(_GlobalSettings, DebugFeaturesEnabled); GETSET_BINDABLE_ENUM_SETTING(TextMeasurement, winrt::Microsoft::Terminal::Control::TextMeasurement, _GlobalSettings.TextMeasurement); private: diff --git a/src/cascadia/TerminalSettingsEditor/Compatibility.idl b/src/cascadia/TerminalSettingsEditor/Compatibility.idl index 39d281b5a8..e56fc4639c 100644 --- a/src/cascadia/TerminalSettingsEditor/Compatibility.idl +++ b/src/cascadia/TerminalSettingsEditor/Compatibility.idl @@ -18,6 +18,7 @@ namespace Microsoft.Terminal.Settings.Editor PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, AllowKeypadMode); PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, AllowHeadless); PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, IsolatedMode); + PERMANENT_OBSERVABLE_PROJECTED_SETTING(Boolean, DebugFeaturesEnabled); IInspectable CurrentTextMeasurement; Windows.Foundation.Collections.IObservableVector TextMeasurementList { get; }; diff --git a/src/cascadia/TerminalSettingsEditor/Compatibility.xaml b/src/cascadia/TerminalSettingsEditor/Compatibility.xaml index 85bad2cc1e..1eb0cea4eb 100644 --- a/src/cascadia/TerminalSettingsEditor/Compatibility.xaml +++ b/src/cascadia/TerminalSettingsEditor/Compatibility.xaml @@ -16,6 +16,11 @@ + + + + @@ -59,5 +64,12 @@ SelectedItem="{x:Bind ViewModel.CurrentTextMeasurement, Mode=TwoWay}" Style="{StaticResource ComboBoxSettingStyle}" /> + + + + + diff --git a/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw b/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw index fe0e2ede75..824511740b 100644 --- a/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw +++ b/src/cascadia/TerminalSettingsEditor/Resources/en-US/Resources.resw @@ -559,6 +559,10 @@ Force each window to be its own process Header for a control to toggle making each window be its own process. + + Debug Mode + Header for a control to toggle debug features. + Terminal will always be the topmost window on the desktop. A description for what the "always on top" setting does. Presented near "Globals_AlwaysOnTop.Header". @@ -583,6 +587,10 @@ Certain features including but not limited to global hotkeys, tab drag and drop, and running commandlines in existing windows won't work. Additional description for what the "isolated mode" setting does. Presented near "Globals_IsolatedMode.Header". + + Enables features to help debug Windows Terminal + Additional description for what the "debug features enabled" setting does. Presented near "Globals_DebugFeaturesEnabled.Header". + Tab width mode Header for a control to choose how wide the tabs are.