terminal/src/cascadia/TerminalSettingsModel
PankajBhojwani 04309a2a49
Support for navigating panes by MRU (#8183)
Adds a "move to previous pane" and "move to next pane" keybinding, which
navigates to the last/first focused pane

We assign pane IDs on creation and maintain a vector of active pane IDs
in MRU order. Navigating panes by MRU then requires specifying which
pane ID we want to focus. 

From our offline discussion (thanks @zadjii-msft for the concise
description):

> For the record, the full spec I'm imagining is:
> 
> { command": { "action": "focus(Next|Prev)Pane", "order": "inOrder"|"mru", "useSwitcher": true|false } },
> 
> and order defaults to mru, and useSwitcher will default to true, when
> there is a switcher. So 
> 
> { command": { "action": "focusNextPane" } },
> { command": { "action": "focusNextPane", "order": "mru" } },
> 
> these are the same action. (but right now we don't support the order
> param)
>  
> Then there'll be another PR for "focusPane(target=id)"
> 
> Then a third PR for "focus(Next|Prev)Pane(order=inOrder)"

> for the record, I prefer this approach over the "one action to rule
> them all" version with both target and order/direction as params,
> because I don't like the confusion of what happens if there's both
> target and order/direction provided. 

References #1000 
Closes #2871
2020-12-11 18:36:05 +00:00
..
dll Update to Microsoft.UI.Xaml 2.5 "stable" (#8500) 2020-12-04 23:49:45 +00:00
Resources/en-US Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
ActionAndArgs.cpp Add ScrollHome and ScrollEnd (#8459) 2020-12-08 17:28:41 +00:00
ActionAndArgs.h Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
ActionArgs.cpp Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
ActionArgs.h Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
ActionArgs.idl Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
AzureCloudShellGenerator.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
AzureCloudShellGenerator.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
CascadiaSettings.cpp Raise warning on invalid color scheme in commands (#8147) 2020-12-01 22:28:00 +00:00
CascadiaSettings.h Raise warning on invalid color scheme in commands (#8147) 2020-12-01 22:28:00 +00:00
CascadiaSettings.idl Add Serializer to CascadiaSettings (#8018) 2020-11-17 00:37:19 +00:00
CascadiaSettingsSerialization.cpp Always create and link profiles.defaults object (#8445) 2020-12-01 14:11:26 +00:00
ColorScheme.cpp Add Serializer to CascadiaSettings (#8018) 2020-11-17 00:37:19 +00:00
ColorScheme.h Add Serializer to CascadiaSettings (#8018) 2020-11-17 00:37:19 +00:00
ColorScheme.idl Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
Command.cpp Implement CascadiaSettings::Copy() (#7877) 2020-10-16 15:14:11 -07:00
Command.h Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
Command.idl Introduce IconConverter (#7830) 2020-10-08 11:29:04 -07:00
DefaultProfileUtils.cpp Make Global and Profile settings inheritable (#7923) 2020-10-27 17:35:09 +00:00
DefaultProfileUtils.h Make Global and Profile settings inheritable (#7923) 2020-10-27 17:35:09 +00:00
defaults-universal.json From orbit, nuke the Telnet connection and all supporting infra. (#7840) 2020-10-09 18:59:58 +00:00
defaults.json Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
GlobalAppSettings.cpp Add Serializer to CascadiaSettings (#8018) 2020-11-17 00:37:19 +00:00
GlobalAppSettings.h Change the default tab switch mode back to inOrder (#8326) 2020-11-19 15:57:35 -08:00
GlobalAppSettings.idl Allow the user to use the tab switcher with in-order tab switching (#8076) 2020-11-05 14:28:16 +00:00
IDynamicProfileGenerator.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
IInheritable.h Rework JsonUtils' optional handling to let Converters see null (#8175) 2020-11-09 15:13:02 -08:00
init.cpp Hook up the WIL fallback error tracer in Terminal (#7864) 2020-10-09 22:20:12 +00:00
JsonUtils.h Add Serializer to CascadiaSettings (#8018) 2020-11-17 00:37:19 +00:00
KeyChordSerialization.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
KeyChordSerialization.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
KeyChordSerialization.idl Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
KeyMapping.cpp Implement CascadiaSettings::Copy() (#7877) 2020-10-16 15:14:11 -07:00
KeyMapping.h Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
KeyMapping.idl Add ScrollHome and ScrollEnd (#8459) 2020-12-08 17:28:41 +00:00
KeyMappingSerialization.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
LegacyProfileGeneratorNamespaces.h From orbit, nuke the Telnet connection and all supporting infra. (#7840) 2020-10-09 18:59:58 +00:00
Microsoft.Terminal.Settings.ModelLib.vcxproj Update to Microsoft.UI.Xaml 2.5 "stable" (#8500) 2020-12-04 23:49:45 +00:00
Microsoft.Terminal.Settings.ModelLib.vcxproj.filters Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
packages.config Update C++/WinRT to 2.0.201017.1 (#8061) 2020-10-27 20:15:30 +00:00
pch.cpp Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
pch.h Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
PowershellCoreProfileGenerator.cpp Introduce IconConverter (#7830) 2020-10-08 11:29:04 -07:00
PowershellCoreProfileGenerator.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
Profile.cpp Represent BackgroundImageAlignment as ConvergedAlignment (#8468) 2020-12-02 23:14:11 +00:00
Profile.h Represent BackgroundImageAlignment as ConvergedAlignment (#8468) 2020-12-02 23:14:11 +00:00
Profile.idl Represent BackgroundImageAlignment as ConvergedAlignment (#8468) 2020-12-02 23:14:11 +00:00
SettingsTypes.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
TerminalSettingsSerializationHelpers.h Support for navigating panes by MRU (#8183) 2020-12-11 18:36:05 +00:00
TerminalWarnings.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
TerminalWarnings.idl Raise warning on invalid color scheme in commands (#8147) 2020-12-01 22:28:00 +00:00
userDefaults.json Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00
WslDistroGenerator.cpp Introduce IconConverter (#7830) 2020-10-08 11:29:04 -07:00
WslDistroGenerator.h Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00