# Fix bug preventing spaces from being used in filename \(\#3454\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eef6c3729eaaa45f8671ced90ec2c375179e9269

Requested commit: eef6c3729eaaa45f8671ced90ec2c375179e9269

Commit: eef6c3729eaaa45f8671ced90ec2c375179e9269

Tree: faa8d3a83b40b841d1aaffe20183d653e316548e

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Fix bug preventing spaces from being used in filename (#3454)

This bug was my fault, something I changed months ago to be more
consistent with VS Code - really strange that it took months for someone
to find out spaces couldn't be used in the project panel.

~I didn't apply this fix to zed2 because I dont think the facilities are
in place to do so (@maxbrunsfeld, @mikayla-maki, is there a system in
place for this that I missed?). I did leave a TODO.~

Fix is now in zed 2.

Release Notes:

- Fixed a bug where spaces could not be inserted when editing file names
in the project panel
([#2308](https://github.com/zed-industries/community/issues/2308)).
```

## Parents

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

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

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