terminal/src/cascadia
Mike Griese 0a30b856a9
Add closeOtherTabs, closeTabsAfter actions (#7176)
## Summary of the Pull Request

Adds support for two actions, `closeOtherTabs` and `closeTabsAfter`. Both these actions accept an `index` parameter.

* `closeOtherTabs`: Close tabs other than `index`
* `closeTabsAfter`: Close tabs after `index` (This is also "Close tabs to the right")

## References
* This PR is being made to unblock @RahulRavishankar in #1912
## PR Checklist
* [x] I work here
* [ ] Tests added/passed
* [x] Requires documentation to be updated
* [ ] We should file an issue for "add an `index` param to `closeTab`" to add similar support to the close tab action
* [ ] We should file an issue for "make the `index` param to `closeOtherTabs`, `closeTabsAfter` optional" to make them both work on the _active_ tab when there's no `index` provided

## Validation Steps Performed
* _Verified that_ closing all tabs when I have the `index`'th tab selected _works as expected_
* _Verified that_ closing all tabs when I have a tab other than the `index`'th tab selected _works as expected_
* _Verified that_ closing tabs to the right when I have the `index`'th tab selected _works as expected_
* _Verified that_ closing tabs to the right when I have a tab other than the `index`'th tab selected _works as expected_
    - This one has one caveat: for whatever reason, if you run this action when the tab that's currently focused is _before_ the `index` param, then the tabs will expand to fill the entire width of the tab row, until you mouse over them. Probably has something to do with tabs not resizing down until there's a mouse exit event.
2020-08-06 21:47:50 +00:00
..
CascadiaPackage Build and ship an actual binary named wt that just launches WT (#6860) 2020-07-10 22:41:37 +00:00
inc Add support for the Command Palette (#6635) 2020-06-26 20:38:02 +00:00
LocalTests_TerminalApp Move TerminalSettings object to TermApp Project (#7163) 2020-08-03 22:54:22 +00:00
PublicTerminalCore wpf: fixup mouse wheel events from screen coords (#7168) 2020-08-04 17:38:34 +00:00
ShellExtension Make the Shell Extension methods STDMETHODIMP (#6238) 2020-05-28 14:09:52 -07:00
TerminalApp Add closeOtherTabs, closeTabsAfter actions (#7176) 2020-08-06 21:47:50 +00:00
TerminalAzBridge Fix the build in VS 2019 16.7 (#6838) 2020-07-09 04:10:50 +00:00
TerminalConnection Replace old C headers (xxx.h) with modern ones (cxxx) (#5080) 2020-07-01 11:00:24 -07:00
TerminalControl Move TerminalSettings object to TermApp Project (#7163) 2020-08-03 22:54:22 +00:00
TerminalCore Fix #7064: Ignore key events without scan code (#7145) 2020-08-06 01:03:58 +00:00
TerminalSettings Move TerminalSettings object to TermApp Project (#7163) 2020-08-03 22:54:22 +00:00
UnitTests_TerminalCore Fix #7064: Ignore key events without scan code (#7145) 2020-08-06 01:03:58 +00:00
ut_app Convert most of our JSON deserializers to use type-based conversion (#6590) 2020-07-17 01:31:09 +00:00
WindowsTerminal Add support for running a wt commandline in the curent window WITH A KEYBINDING (#6537) 2020-07-17 21:05:29 +00:00
WindowsTerminalUniversal Fix the build in VS 2019 16.7 (#6838) 2020-07-09 04:10:50 +00:00
WinRTUtils Add support for the Command Palette (#6635) 2020-06-26 20:38:02 +00:00
WpfTerminalControl Send ENHANCED_KEY in Win32 input mode in the wpf/uwp controls (#7106) 2020-07-31 17:16:27 +00:00
WpfTerminalTestNetCore/WpfTerminalTestNetCore Fix 3 different bugs in the WPF control (#6464) 2020-06-11 18:05:43 +00:00
wt Build and ship an actual binary named wt that just launches WT (#6860) 2020-07-10 22:41:37 +00:00
CascadiaResources.build.items Add a new appxmanifest for preview (#5774) 2020-05-07 16:00:56 +00:00