# terminal_view: Ensure reported size does not change once content becomes scrollable \(\#46648\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/80c4c3ec93f3f709c36b0db420993b469d346052)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 80c4c3ec93f3f709c36b0db420993b469d346052

Requested commit: 80c4c3ec93f3f709c36b0db420993b469d346052

Commit: 80c4c3ec93f3f709c36b0db420993b469d346052

Tree: df6c898f11adba0bac96f0c1a0cb24097b866356

Author: Finn Evers

Committer: GitHub

## Message

```
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>
```

## Parents

- [d986344da539eb97aaf21eebf9d1d82c52fd1c06](https://git.cafe/gitcafe/zed/commit/d986344da539eb97aaf21eebf9d1d82c52fd1c06?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/80c4c3ec93f3f709c36b0db420993b469d346052?format=markdown)
