# agent_ui: Don't create a new terminal when hitting the new thread binding from the terminal \(\#42898\) · gitcafe/zed

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

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

Visibility: public

Requested revision: faa1136651c10d0eeed59ec6aefb29ad5d798f6a

Requested commit: faa1136651c10d0eeed59ec6aefb29ad5d798f6a

Commit: faa1136651c10d0eeed59ec6aefb29ad5d798f6a

Tree: cc9c116bb08a2fd87a9b3e339a326086f82e4c81

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Don't create a new terminal when hitting the new thread binding from the terminal (#42898)

Closes https://github.com/zed-industries/zed/issues/32701

Release Notes:

- agent: Fixed a bug where hitting the `NewThread` keybinding when
focused inside a terminal within the agent panel would create a new
terminal tab instead of a new thread.
```

## Parents

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

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