Feature Request: Terminal should listen for the WM_SETTINGCHANGE for environment variable updates #1492

Open
opened 2026-01-30 22:28:39 +00:00 by claunia · 0 comments
Owner

Originally created by @rkeithhill on GitHub (Jun 3, 2019).

Summary of the new feature/enhancement

When I install an app that updates the path or I update the path manually, it isn't enough to kill an individual tab in the Terminal and start a new one. The new tab still inherits the old, unchanged environment variable values. This means I have to kill/restart the Terminal and lose all my tabs.

Proposed technical implementation details (optional)

Add a Windows message handler for WM_SETTINGCHANGE and update the Terminal process's environment block so that any new tabs get the updated environment variables.

Originally created by @rkeithhill on GitHub (Jun 3, 2019). # Summary of the new feature/enhancement When I install an app that updates the path or I update the path manually, it isn't enough to kill an individual tab in the Terminal and start a new one. The new tab still inherits the old, unchanged environment variable values. This means I have to kill/restart the Terminal and lose all my tabs. # Proposed technical implementation details (optional) Add a Windows message handler for `WM_SETTINGCHANGE` and update the Terminal process's environment block so that any new tabs get the updated environment variables.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1492