[PR #8827] sui: Improve the "use parent process directory" checkbox #27304

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

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

State: closed
Merged: Yes


Make the "use parent process directory" checkbox rely on a computed
property in the ProfileViewModel. It will be enabled when the starting
directory is empty and disabled when it's not. When it's unchecked, the
last-used value will be restored. If there is no last-used value, it
will be set to %USERPROFILE%.

Closes #8805

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8827 **State:** closed **Merged:** Yes --- Make the "use parent process directory" checkbox rely on a computed property in the ProfileViewModel. It will be enabled when the starting directory is empty and disabled when it's not. When it's unchecked, the last-used value will be restored. If there is no last-used value, it will be set to %USERPROFILE%. Closes #8805
claunia added the pull-request label 2026-01-31 09:21:14 +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#27304