[PR #7876] doc: Introduce Inheritance Addendum to TSM Spec #27017

Open
opened 2026-01-31 09:19:30 +00:00 by claunia · 0 comments
Owner

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

State: closed
Merged: Yes


This introduces an addendum to the Terminal Settings Model spec that
covers inheritance and fallback. Basically, settings objects will now
have a reference to a parent object. If the settings object does not
have a setting defined, it will ask its parent to resolve the value. A
parent is set using the Clone() function. Copy() is used to copy the
value and structure of the settings model, whereas Clone() is used to
copy a reference to the settings model and build an inheritance tree.

References

#6904 - Terminal Settings Model Spec
#1564 - Settings UI

**Original Pull Request:** https://github.com/microsoft/terminal/pull/7876 **State:** closed **Merged:** Yes --- This introduces an addendum to the Terminal Settings Model spec that covers inheritance and fallback. Basically, settings objects will now have a reference to a parent object. If the settings object does not have a setting defined, it will ask its parent to resolve the value. A parent is set using the `Clone()` function. `Copy()` is used to copy the value and structure of the settings model, whereas `Clone()` is used to copy a reference to the settings model and build an inheritance tree. ## References #6904 - Terminal Settings Model Spec #1564 - Settings UI
claunia added the pull-request label 2026-01-31 09:19:30 +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#27017