# assistant2: Cancel generation button \(\#23137\) · gitcafe/zed

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

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

Visibility: public

Requested revision: de5f0234773e7dbdedd179d7dfeb44872a3b8a85

Requested commit: de5f0234773e7dbdedd179d7dfeb44872a3b8a85

Commit: de5f0234773e7dbdedd179d7dfeb44872a3b8a85

Tree: 073b235961fc6c6822f09073b238d1f433f783f3

Author: Agus Zubiaga

Committer: GitHub

## Message

```
assistant2: Cancel generation button (#23137)

Turns the "esc to cancel" label into a button so it can be dispatched
via click or keyboard. The keybinding isn't hardcoded anymore.

![CleanShot 2025-01-14 at 13 44
22@2x](https://github.com/user-attachments/assets/a947f58b-7de2-400b-b95a-384b78c79697)


Release Notes:

- N/A
```

## Parents

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

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