From 43c76ee240d67bfd814e53084e75d2aa09f3bcb9 Mon Sep 17 00:00:00 2001 From: Ian O'Neill Date: Tue, 7 Sep 2021 18:53:53 +0100 Subject: [PATCH] Disable autocorrect for command, path and find text inputs (#11137) ## Summary of the Pull Request Disables autocorrect for command, path and find text inputs. Does not disable it for profile names, tab titles or colour scheme names. ## PR Checklist * [x] Closes #11133 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Validation Steps Performed Manually typed `bash -i -l` into the profile command text input and found it no longer auto-capitalised the I. --- src/cascadia/TerminalControl/SearchBoxControl.xaml | 1 + src/cascadia/TerminalSettingsEditor/Appearances.xaml | 1 + src/cascadia/TerminalSettingsEditor/Interaction.xaml | 3 ++- src/cascadia/TerminalSettingsEditor/Profiles.xaml | 5 ++++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/cascadia/TerminalControl/SearchBoxControl.xaml b/src/cascadia/TerminalControl/SearchBoxControl.xaml index f390f07bb..494b71609 100644 --- a/src/cascadia/TerminalControl/SearchBoxControl.xaml +++ b/src/cascadia/TerminalControl/SearchBoxControl.xaml @@ -239,6 +239,7 @@ VerticalAlignment="Center" CornerRadius="2" FontSize="15" + IsSpellCheckEnabled="False" KeyDown="TextBoxKeyDown" PlaceholderForeground="{ThemeResource TextBoxPlaceholderTextThemeBrush}" /> diff --git a/src/cascadia/TerminalSettingsEditor/Appearances.xaml b/src/cascadia/TerminalSettingsEditor/Appearances.xaml index a2f715fd2..7765d6626 100644 --- a/src/cascadia/TerminalSettingsEditor/Appearances.xaml +++ b/src/cascadia/TerminalSettingsEditor/Appearances.xaml @@ -206,6 +206,7 @@