Make zed --wait work with directories (#44936)

Fixes #23347

Release Notes:

- Implemented the `zed --wait` flag so that it works when opening a
directory. The command will block until the window is closed.
3b2ccaff6fMax Brunsfeld committed on 12/16/2025, 1:22:41 AM· committed by GitHubparenta60e0a1
2 files changedLine totals unavailable