Repository: microsoft/terminal (language: cpp)

Issue:
profiles.schema.json: NewTerminalArgs section is outdated
The `NewTerminalArgs` section in the file [`doc/cascadia/profiles.schema.json`](https://github.com/microsoft/terminal/blob/main/doc/cascadia/profiles.schema.json) is outdated.

Some of the existing arguments that can be saved to json are not listed.



Discussion / hints:

Fix patch:
diff --git a/doc/cascadia/profiles.schema.json b/doc/cascadia/profiles.schema.json
index e851d3c284b..defe63d150b 100644
--- a/doc/cascadia/profiles.schema.json
+++ b/doc/cascadia/profiles.schema.json
@@ -618,6 +618,11 @@
           "type": "boolean",
           "default": false,
           "description": "This will override the profile's `elevate` setting."
+        },
+        "reloadEnvironmentVariables": {
+          "type": "boolean",
+          "default": true,
+          "description": "When set to true, a new environment block will be generated when creating a new session. Otherwise, the session will inherit the variables the Terminal was started with."
         }
       },
       "type": "object"


Test patch: