# assistant2: Make \`Esc\` cancel current completion \(\#23076\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c1c767a5bdc6a8f572ff643c3d0ea42fffca7865

Requested commit: c1c767a5bdc6a8f572ff643c3d0ea42fffca7865

Commit: c1c767a5bdc6a8f572ff643c3d0ea42fffca7865

Tree: ff3a210254ebf5aeeb08277b491461efd97a65ad

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Make `Esc` cancel current completion (#23076)

This PR makes it so pressing `Esc` in Assistant2 will cancel the current
completion.

Release Notes:

- N/A
```

## Parents

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

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