# Truncate long diagnostic messages in the status bar \(\#51031\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7b6932485679b7492893542ca7b15630f6ea0ec4

Requested commit: 7b6932485679b7492893542ca7b15630f6ea0ec4

Commit: 7b6932485679b7492893542ca7b15630f6ea0ec4

Tree: 3323b9daab1e68a6192bcabe6d3529fe90978e7d

Author: João Soares

Committer: GitHub

## Message

```
Truncate long diagnostic messages in the status bar (#51031)

Closes #50186

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

## Screenshots:
### Before:
<img width="2543" height="39" alt="image"
src="https://github.com/user-attachments/assets/5e9fb7c5-0ba6-44b5-a0f6-1f63b35550f6"
/>

### After:
<img width="1165" height="581" alt="image"
src="https://github.com/user-attachments/assets/903bc637-7d38-48c5-9207-30e12eaa40de"
/>

Release Notes:

- Fixed long diagnostic messages in the status bar pushing right-side
buttons (terminal, agent, etc.) off screen
```

## Parents

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

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