# Coalesce consecutive spaces in new buffer tab titles \(\#32363\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ebea7345155a59e6690945bfde4413ebe13d97a4

Requested commit: ebea7345155a59e6690945bfde4413ebe13d97a4

Commit: ebea7345155a59e6690945bfde4413ebe13d97a4

Tree: 95c27bc0aa414c3b63f49c927cd39c150f14911c

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Coalesce consecutive spaces in new buffer tab titles (#32363)

VS Code has a behavior where it coalesces consecutive spaces in new
buffer tab titles, which I quite like. This presents the content better
and allows more meaningful content to be displayed, as consecutive
spaces don't count towards the 40 character limit.

VS Code

<img width="1013" alt="SCR-20250608-uelt"
src="https://github.com/user-attachments/assets/71a1fd4b-a506-4eab-b6a4-66096a12f1ad"
/>

Zed

<img width="1136" alt="SCR-20250608-ueif"
src="https://github.com/user-attachments/assets/f40fc3c9-0f0f-471d-93ed-be9568fbe778"
/>


Release Notes:

- N/A
```

## Parents

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

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