SIGN IN SIGN UP

Fix focusing terminal when running tasks (#13675)

After removing the unnecessary reveal strategy handling:



[focus-task-fix.webm](https://github.com/zed-industries/zed/assets/39293/93afd332-8f22-47f5-914d-5bc040e24029)

When running tasks, the terminal was not focused when the terminal had
to be replaced. This is because the code for revealing the terminal had
been executed twise: once inside `replace_terminal` function and also at
the end of `spawn_task`.

Fixes #13674

Release Notes:

- Fixed focusing the terminal when re-spawning a task
([#13674](https://github.com/zed-industries/zed/issues/13674))
A
Aleksei Gusev committed
193be271a8ca7b01bb1e9840c4c3af26249e68d4
Parent: ce48555
Committed by GitHub <noreply@github.com> on 7/2/2024, 7:57:54 AM