# cli: Null stdio handles when spawning Zed on Windows \(\#52583\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b42a6aa28f0b0004819104c4de16adaf5c0a800f

Requested commit: b42a6aa28f0b0004819104c4de16adaf5c0a800f

Commit: b42a6aa28f0b0004819104c4de16adaf5c0a800f

Tree: 7c167f356bba294af3b7dacd86b2829b0837206d

Author: João Soares

Committer: GitHub

## Message

```
cli: Null stdio handles when spawning Zed on Windows (#52583)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #51101

Release Notes:

- Fixed issue where launching Zed from Git Bash would leave the Ctrl
modifier stuck in the terminal.

## Demo

### Before:


https://github.com/user-attachments/assets/301c73a0-768b-437d-8a88-88d7db320c15

### After:



https://github.com/user-attachments/assets/2ec75f5e-16b9-4551-86d9-d59447712e7a
```

## Parents

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

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