# agent_ui: Fix crash when typing multibyte character after mention \(\#37847\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 734f94b71c48b138235538abb2eced9e5da5691f

Requested commit: 734f94b71c48b138235538abb2eced9e5da5691f

Commit: 734f94b71c48b138235538abb2eced9e5da5691f

Tree: 9cb1b3e285066acf2e96f68c97cdf8d8b99c1ea6

Author: Smit Barmase

Committer: GitHub

## Message

```
agent_ui: Fix crash when typing multibyte character after mention (#37847)

Closes #36333

Release Notes:

- Fixed a crash that occurred when typing an IME character right after a
mention in the Agent Panel.
```

## Parents

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

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