# Preserve terminal spinners in thread titles \(\#57983\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e5f5767d2c44f6342357c5b73ef7cfe710ec9566

Requested commit: e5f5767d2c44f6342357c5b73ef7cfe710ec9566

Commit: e5f5767d2c44f6342357c5b73ef7cfe710ec9566

Tree: cdbede4067fde5209ce2d3773c6ae7b87e39de3e

Author: Richard Feldman

Committer: GitHub

## Message

```
Preserve terminal spinners in thread titles (#57983)

Summary:

- Preserve spinner/logo prefixes from live terminal titles when terminal
threads have custom titles.
- Store raw terminal titles and custom user titles separately,
recomposing display titles on demand.
- Keep spinner prefixes out of the title editor while preserving
sidebar/search display behavior.

Tests:

- cargo test -p agent_ui
test_terminal_custom_title_recomposes_with_live_spinner -- --nocapture
- cargo test -p agent_ui
test_terminal_title_editor_excludes_spinner_prefix -- --nocapture
- cargo test -p sidebar
test_agent_panel_terminals_appear_in_sidebar_and_search -- --nocapture

Closes AI-304

Release Notes:

- Fixed terminal thread titles to preserve animated spinner and logo
prefixes after renaming.
```

## Parents

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

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