# Replace terminal \`SendText\` ctrl keybinds with \`SendKeystroke\` \(\#51728\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c5727c90a56041d1cb18305c82d8364e9d6a587

Requested commit: 5c5727c90a56041d1cb18305c82d8364e9d6a587

Commit: 5c5727c90a56041d1cb18305c82d8364e9d6a587

Tree: 005906455de880ed13133b76c42d4f7f7985de75

Author: Justin Su

Committer: GitHub

## Message

```
Replace terminal `SendText` ctrl keybinds with `SendKeystroke` (#51728)

`SendKeystroke` seems to work for all ctrl keybinds. Prefer it over
`SendText` for readability.

showkey reports the same key sequences if I apply these keybinds to my
user keymap.

Before you mark this PR as ready for review, make sure that you have:
- [ ] Added a solid test coverage and/or screenshots from doing manual
testing
- [ ] Done a self-review taking into account security and performance
aspects
- [ ] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- N/A

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
```

## Parents

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

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