terminal/src/cascadia
kovdu dd348dccda
Clear all state tracking nested commands when switching command mode (#10164)
Went for option 2 proposed here:
https://github.com/microsoft/terminal/issues/10140#issuecomment-845193132. 

Disabling back space in the nested entry didn't felt as the nicest
solution.  Instead now all state that keeps track of nested commands is
cleared when switching beteen modes.

## Validation Steps Performed
- Validated the specified issue is fixed by this change:. now after
  entering a sub command and hitting backspace the palette no longer
  shows the sub command item (here `< Select color scheme...` ).
- Validated that switching between all modes (command line, actions, tab
  search & tab switch) still work as expected.
- Validated as well that all modes still work as expected.

Didn't add unit tests, but happy to try that out if this would be
required. 

Closes #10140
2021-05-24 17:10:39 +00:00
..
CascadiaPackage Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
inc Add globalSummon action (#9854) 2021-04-28 17:13:28 -05:00
LocalTests_SettingsModel Introduce serialization for actions (#9926) 2021-05-20 18:44:04 +00:00
LocalTests_TerminalApp Add support for focusPane action, focus-pane subcommand (#10142) 2021-05-21 21:55:57 +00:00
PublicTerminalCore Exclude more rarely-used stuff from Windows headers (#8513) 2020-12-11 19:35:23 +00:00
Remoting Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
ShellExtension Move Branding into common props (#9668) 2021-03-30 18:08:53 -05:00
TerminalApp Clear all state tracking nested commands when switching command mode (#10164) 2021-05-24 17:10:39 +00:00
TerminalAzBridge Update C++/WinRT to 2.0.210309.3 (#9437) 2021-03-10 16:04:59 -06:00
TerminalConnection Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
TerminalControl Split ThrottledFunc into Leading and Trailing variants (#10133) 2021-05-20 17:31:47 +00:00
TerminalCore Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
TerminalSettingsEditor Fix profile selection upon discarding changes in SUI (#10147) 2021-05-21 12:34:25 -05:00
TerminalSettingsModel Add support for focusPane action, focus-pane subcommand (#10142) 2021-05-21 21:55:57 +00:00
UnitTests_Control Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
UnitTests_Remoting Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
UnitTests_TerminalCore Introduce til::rle - a run length encoded vector (#10099) 2021-05-20 17:27:50 +00:00
ut_app Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
WindowsTerminal Emit fixup debug info for internal tooling (#10151) 2021-05-24 13:33:20 +00:00
WindowsTerminal_UIATests Implement PGO in pipelines for AMD64 architecture; supply training test scenarios (#10071) 2021-05-13 21:12:30 +00:00
WindowsTerminalUniversal Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
WinRTUtils Remove bug fixes which aren't needed in VS 16.9 (#9953) 2021-04-28 10:43:05 +00:00
WpfTerminalControl [WPF] Allows setting the WPF control background when setting the terminal theme (#10026) 2021-05-04 21:18:25 +00:00
WpfTerminalTestNetCore Auto-format our XAML files and enforce in CI (#9589) 2021-03-29 17:09:38 -05:00
wt Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
CascadiaResources.build.items Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00