From ec9289288e6581b8d1cbb5f7d334422de4dee07a Mon Sep 17 00:00:00 2001 From: PankajBhojwani Date: Wed, 3 Jul 2024 06:56:30 -0700 Subject: [PATCH] Fix schema and user defaults from Action ID change (#17509) - Remove the `deprecated` flag for the `keybindings` array now that we have re-added that - Update `userDefaults` to use the correct ID for the `Copy` command --- doc/cascadia/profiles.schema.json | 1 - src/cascadia/TerminalSettingsModel/userDefaults.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json index 8ab581594e..931661698c 100644 --- a/doc/cascadia/profiles.schema.json +++ b/doc/cascadia/profiles.schema.json @@ -2519,7 +2519,6 @@ }, "keybindings": { "description": "A list of keychords bound to action IDs", - "deprecated": true, "items": { "$ref": "#/$defs/Keybinding" }, diff --git a/src/cascadia/TerminalSettingsModel/userDefaults.json b/src/cascadia/TerminalSettingsModel/userDefaults.json index b6b4582f2a..ec62a7a545 100644 --- a/src/cascadia/TerminalSettingsModel/userDefaults.json +++ b/src/cascadia/TerminalSettingsModel/userDefaults.json @@ -23,7 +23,7 @@ }, "keybindings": [ - { "id": "Terminal.CopySelectedText", "keys": "ctrl+c" }, + { "id": "Terminal.CopyToClipboard", "keys": "ctrl+c" }, { "id": "Terminal.PasteFromClipboard", "keys": "ctrl+v" }, { "id": "Terminal.DuplicatePaneAuto", "keys": "alt+shift+d" } ]