terminal_view: Ensure reported size does not change once content becomes scrollable (#46648)

This fixes an issue where due to the scrollbar appearing, the reported
content size would shift, causing issues in the process. We now actually
always reserve space for the scrollbar appropriately as described in
https://github.com/zed-industries/zed/pull/33636 initially.

Release Notes:

- Fixed an issue where the scrollbar could cause a layout shift in the
terminal.

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
80c4c3ec93Finn Evers committed on 4/27/2026, 10:06:01 PM· committed by GitHubparentd986344
8 files changedLine totals unavailable