This makes the `zed --add <PATH>` command use the window it was run from when run from a Terminal Panel. I run into this paper cut quite a lot working with multiple projects and preferring to create new files through the CLI instead of the GUI. **Before** With two windows open, running `zed --add a.txt` in one window's terminal might open the file `a.txt` in the other window. [Screencast from 12-17-2025 02:24:45 AM - zed --add bug before.webm](https://github.com/user-attachments/assets/30816add-91e1-41c3-b2e3-6a0e6e88771a) **After** With this change, it will use the window of the Terminal Panel. [Screencast from 12-17-2025 02:16:09 AM - zed --add bug after.webm](https://github.com/user-attachments/assets/5141518e-5fb0-47d1-9281-54c0699ff7f5) Release Notes: - Improved `zed --add` command to prefer window it was run from Co-authored-by: Kirill Bulatov <kirill@zed.dev>