# editor: Fix panic when full width crease is wrapped \(\#31960\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 27d3da678cc1a0bd1686ebe47620d68a5c0ad4c1

Requested commit: 27d3da678cc1a0bd1686ebe47620d68a5c0ad4c1

Commit: 27d3da678cc1a0bd1686ebe47620d68a5c0ad4c1

Tree: becb00574d0617de61c8364081409a1472f5c1e2

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
editor: Fix panic when full width crease is wrapped (#31960)

Closes #31919

Release Notes:

- Fixed a panic that could sometimes occur when the agent panel was too
narrow and contained context included via `@`.

---------

Co-authored-by: Antonio <antonio@zed.dev>
Co-authored-by: Antonio Scandurra <me@as-cii.com>
```

## Parents

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

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