terminal/src/cascadia
Ian O'Neill 8c057a04a8
Allow closing tabs by index (#10447)
## Summary of the Pull Request
Updates the `closeTab` action to optionally take an index.

## PR Checklist
* [x] Closes #7180
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [x] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: MicrosoftDocs/terminal#347
* [x] Schema updated.
* [ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

## Validation Steps Performed
Added the following configuration to `settings.json` and validated both key combinations behaved as expected. Also opened the command palette and ensured that the actions were displayed.

```json
{ "command": "closeTab", "keys": "ctrl+shift+delete" },
{ "command": { "action": "closeTab", "index": 0 }, "keys": "ctrl+shift+end" }
```
2021-06-25 19:22:52 +00:00
..
CascadiaPackage Update Cascadia Code to 2106.17 (#10455) 2021-06-18 20:47:19 +00:00
inc Add globalSummon action (#9854) 2021-04-28 17:13:28 -05:00
LocalTests_SettingsModel Ensure equality when hashing default args and no args in actions (#10341) 2021-06-16 22:43:29 +00:00
LocalTests_TerminalApp Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
PublicTerminalCore wpf: fix the TerminalTheme struct to marshal the same on all platforms (#10486) 2021-06-22 17:03:18 +00:00
Remoting Enable winrt::make<> detection (#10264) 2021-06-01 22:33:53 +00:00
ShellExtension Localize the shell extension's menu item (#10446) 2021-06-17 21:49:56 +00:00
TerminalApp Allow closing tabs by index (#10447) 2021-06-25 19:22:52 +00:00
TerminalAzBridge Update C++/WinRT to 2.0.210309.3 (#9437) 2021-03-10 16:04:59 -06:00
TerminalConnection Ignore closeOnExit when a conn. moves from Connecting to Failed (#10263) 2021-05-28 14:22:43 -05:00
TerminalControl Introduce til/latch.h, til/mutex.h and til/throttled_func.h (#10403) 2021-06-22 20:16:31 +00:00
TerminalCore Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
TerminalSettingsEditor Fix crash when unpackaged due to PrimaryLanguageOverride (#10434) 2021-06-16 21:08:14 +00:00
TerminalSettingsModel Allow closing tabs by index (#10447) 2021-06-25 19:22:52 +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 Restore embedded manifests to say 18362 (#10370) 2021-06-09 16:23:26 +00:00
WindowsTerminal Summon, not toggle visibility, window on command line dispatch (#10396) 2021-06-10 17:22:22 +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 Introduce til/latch.h, til/mutex.h and til/throttled_func.h (#10403) 2021-06-22 20:16:31 +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 wpf: fix the TerminalTheme struct to marshal the same on all platforms (#10486) 2021-06-22 17:03:18 +00:00
wt Upgrade Windows SDK to 19041 (#10118) 2021-05-20 16:04:25 +00:00
CascadiaResources.build.items Update Cascadia Code to 2106.17 (#10455) 2021-06-18 20:47:19 +00:00