# agent_ui: Focus the message editor after regenerating a user message \(\#40938\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 731237222e7e8f8292dc39135c07fe6de4523313

Requested commit: 731237222e7e8f8292dc39135c07fe6de4523313

Commit: 731237222e7e8f8292dc39135c07fe6de4523313

Tree: 20033408a971d7b1f35b0e0f18000f5b64da9323

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Focus the message editor after regenerating a user message (#40938)

Release Notes:

- agent: Improved the editing previous messages UX by focusing in the
agent panel's message editor after regenerating a prompt, instead of
moving focus to the nearest regular buffer.
```

## Parents

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

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