[PR #4249] schema: add support for "auto" split value #25704

Closed
opened 2026-01-31 09:11:13 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/4249

State: closed
Merged: Yes


Summary of the Pull Request

profiles.schema.json did not have auto as a valid value for the split attribute. This PR adds the support and makes a minor update to the details associated with the split attribute.

References

PR Checklist

  • Closes Regression in line wrapping from #2924 (#4245)
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated :: PR technically updates docs
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #4245

Detailed Description of the Pull Request / Additional comments

Potentially the default value for SplitPaneAction should be set to auto as well. Let me know your thoughts.

Validation Steps Performed

Changed the $schema attribute in my local profiles.json to the updated profiles.schema.json and ensured that auto did not have a squiggly line like in #4245.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/4249 **State:** closed **Merged:** Yes --- <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request `profiles.schema.json` did not have `auto` as a valid value for the `split` attribute. This PR adds the support and makes a minor update to the details associated with the `split` attribute. <!-- Other than the issue solved, is this relevant to any other issues/existing PRs? --> ## References <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #4245 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [x] Requires documentation to be updated :: PR technically updates docs * [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #4245 <!-- Provide a more detailed description of the PR, other things fixed or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments Potentially the [`default`](https://github.com/microsoft/terminal/blob/master/doc/cascadia/profiles.schema.json#L217) value for `SplitPaneAction` should be set to `auto` as well. Let me know your thoughts. <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed Changed the `$schema` attribute in my local `profiles.json` to the updated `profiles.schema.json` and ensured that `auto` did not have a squiggly line like in #4245.
claunia added the pull-request label 2026-01-31 09:11:13 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#25704