# agent_ui: Make it easier to interrupt with message in queue \(\#46954\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d183902dc7d8e55c58a85bbc3e2f0607b6571e82

Requested commit: d183902dc7d8e55c58a85bbc3e2f0607b6571e82

Commit: d183902dc7d8e55c58a85bbc3e2f0607b6571e82

Tree: dfc33da3268e5d643205db50431ff21d78c5e842

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Make it easier to interrupt with message in queue (#46954)

Follow up to https://github.com/zed-industries/zed/pull/46797

When you send a message, as per the PR linked above, Zed will now queue
it by default. But if you want to fast-track it/interrupt the agent
immediately, effectively sending the first message in the queue, you can
just hit enter again and it will get sent right away.


https://github.com/user-attachments/assets/5e6230f6-c56e-4496-9bcb-8d6ffb9e19cb

Release Notes:

- Agent: Made it easier to interrupt the agent while having messages in
the queue.
```

## Parents

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

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