# Fix ctrl-enter opening inline-assistant in assistant text threads \(\#29313\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fd8eeb537dec20795b6cd03fb2a46f5c9a47ae35

Requested commit: fd8eeb537dec20795b6cd03fb2a46f5c9a47ae35

Commit: fd8eeb537dec20795b6cd03fb2a46f5c9a47ae35

Tree: 48eb0994be1c619121f89a52506fc0ba38900b0e

Author: Peter Tripp

Committer: GitHub

## Message

```
Fix ctrl-enter opening inline-assistant in assistant text threads (#29313)

Closes: https://github.com/zed-industries/zed/issues/24501

This has been broken for a while on linux (at least since Feb 8th!) for Assistant1.
It is also broken for Text Threads in Assitant2 (on macos and linux).

This should fix both.

Potentially related:
- https://github.com/zed-industries/zed/pull/29107

Release Notes:

- Fix for `ctrl-enter` shortcut in Assistant text threads incorrectly
opening inline assist instead of triggering Send.

Co-authored-by: Conrad Irwin <conrad@zed.dev>
```

## Parents

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

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