microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
94.85k stars 8.21k forks source link

Windows Terminal must be restarted to learn about new WSL distros. #7595

Closed Hoikas closed 3 years ago

Hoikas commented 3 years ago

Environment

Windows build number: 10.0.19042.0
Windows Terminal version (if applicable): 1.2.2381.0

Steps to reproduce

Expected behavior

Actual behavior

WSLUser commented 3 years ago

I'll note a workaround is using RaftforWSL by WhiteWater Foundry. Since that's a paid solution though, perhaps someone could write a FOSS equivalent of this feature request.

DHowett commented 3 years ago

This is, unfortunately, true. WSL does not send out a notification that we can listen for when a new distribution is installed, so we have no way of knowing when to run an update.

@benhillis do you have any ideas what we could do here?

DHowett commented 3 years ago

(Resolving this as "sadly by design" today.)