diff --git a/src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp b/src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp index 8aed7e4525d..86313dc0e73 100644 --- a/src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp +++ b/src/cascadia/LocalTests_TerminalApp/SettingsTests.cpp @@ -2354,7 +2354,7 @@ namespace TerminalAppLocalTests "commandline": "wsl.exe" } ], - "bindings": [ + "actions": [ { "keys": "ctrl+a", "command": { "action": "splitPane", "split": "vertical" } }, { "name": "ctrl+b", "command": { "action": "splitPane", "split": "vertical" } }, { "keys": "ctrl+c", "name": "ctrl+c", "command": { "action": "splitPane", "split": "vertical" } }, @@ -2528,5 +2528,4 @@ namespace TerminalAppLocalTests VERIFY_IS_TRUE(realArgs.TerminalArgs().Profile().empty()); } } - } diff --git a/src/cascadia/TerminalApp/GlobalAppSettings.cpp b/src/cascadia/TerminalApp/GlobalAppSettings.cpp index 5ba27d8ecc3..fe4dc828cc0 100644 --- a/src/cascadia/TerminalApp/GlobalAppSettings.cpp +++ b/src/cascadia/TerminalApp/GlobalAppSettings.cpp @@ -17,7 +17,7 @@ using namespace ::Microsoft::Console; using namespace winrt::Microsoft::UI::Xaml::Controls; static constexpr std::string_view LegacyKeybindingsKey{ "keybindings" }; -static constexpr std::string_view BindingsKey{ "bindings" }; +static constexpr std::string_view ActionsKey{ "actions" }; static constexpr std::string_view DefaultProfileKey{ "defaultProfile" }; static constexpr std::string_view AlwaysShowTabsKey{ "alwaysShowTabs" }; static constexpr std::string_view InitialRowsKey{ "initialRows" }; @@ -233,7 +233,7 @@ void GlobalAppSettings::LayerJson(const Json::Value& json) } }; parseBindings(LegacyKeybindingsKey); - parseBindings(BindingsKey); + parseBindings(ActionsKey); } // Method Description: diff --git a/src/cascadia/TerminalApp/defaults-universal.json b/src/cascadia/TerminalApp/defaults-universal.json index 0ac56908499..993da6d8f47 100644 --- a/src/cascadia/TerminalApp/defaults-universal.json +++ b/src/cascadia/TerminalApp/defaults-universal.json @@ -72,7 +72,7 @@ "brightWhite": "#FFFFFF" } ], - "keybindings": + "actions": [ // Application-level Keys { "command": "closeWindow", "keys": "alt+f4" }, diff --git a/src/cascadia/TerminalApp/defaults.json b/src/cascadia/TerminalApp/defaults.json index a05668723f8..3db509829ce 100644 --- a/src/cascadia/TerminalApp/defaults.json +++ b/src/cascadia/TerminalApp/defaults.json @@ -271,7 +271,7 @@ "brightWhite": "#EEEEEC" } ], - "bindings": + "actions": [ // Application-level Keys { "command": "closeWindow", "keys": "alt+f4" },