# agent_ui: Enable terminal thread renaming from the Agent Panel \(\#63660\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 251854020a9dbea1a388bf392c9bd04fd136a557

Requested commit: 251854020a9dbea1a388bf392c9bd04fd136a557

Commit: 251854020a9dbea1a388bf392c9bd04fd136a557

Tree: 6629359432103e200b58268459f2dc2211c098e5

Author: Maurício R Duarte

Committer: GitHub

## Message

```
agent_ui: Enable terminal thread renaming from the Agent Panel (#63660)

## Summary

- Follow up on #63578 by extending the existing
`agent::RenameSelectedThread` action to the active Terminal Thread in
the Agent Panel.
- Preserve the existing Threads Sidebar behavior and default
keybindings.
- Document custom keymap assignment and add focused Agent Panel
regression coverage.

## Testing

- `cargo test -p agent_ui
agent_panel::tests::test_rename_selected_thread_action --lib`
- `cargo test -p sidebar rename_selected_thread --lib`
- `cargo fmt --package agent_ui -- --check`
- `npx prettier --check src/ai/terminal-threads.md`
- Manually tested locally with a custom `AgentPanel > Terminal` keymap
binding.

Release Notes:

- Added support for custom keybindings to rename Terminal Thread titles
from the Agent Panel.

### screenshots
<img width="921" height="205" alt="Screenshot 2026-09-02 at 18 40 31"
src="https://github.com/user-attachments/assets/b1edabfc-35f9-42ef-b368-486003202349"
/>
```

## Parents

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

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