Fix task terminal split (#41218)

Re-lands https://github.com/zed-industries/zed/pull/40824

Release Notes:

- N/A
54a7da364cKirill Bulatov committed on 10/26/2025, 10:01:40 AM· committed by GitHubparent003a397
4 files changedLine totals unavailable