mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-12 00:07:24 -06:00
Fix terminal profile schema to allow null in keybinding id (#19332)
Fixes the terminal profile jsonschema to allow for null in the id. This is to match the current implementation when disabling a built in default keybind. (cherry picked from commit eb16eb26ab5d0c3f36a1a2084edcceacdf2a99f9) Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgemwL4 Service-Version: 1.23
This commit is contained in:
parent
f18abeb62e
commit
6dde7d3b78
@ -2294,8 +2294,15 @@
|
|||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"description": "The ID of the command this keybinding should execute.",
|
"description": "The ID of the command this keybinding should execute (or null to disable a default).",
|
||||||
"type": "string"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"keys": {
|
"keys": {
|
||||||
"description": "Defines the key combinations used to call the command. It must be composed of...\n -any number of modifiers (ctrl/alt/shift)\n -a non-modifier key",
|
"description": "Defines the key combinations used to call the command. It must be composed of...\n -any number of modifiers (ctrl/alt/shift)\n -a non-modifier key",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user