# fixup\! terminal/search: Partially fix search in terminal\. There are two issues with search in terminal as is: \- terminal's pane is not registered as a "legit" pane, so we dispatch buffer search bar::Deploy on the most recent "legit" pane\. By legit I mean that workspace::active_pane will \*never\* return terminal pane as active\. \- We've had the implementation of as_searchable commented out\. Duh\! · gitcafe/zed

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

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

Visibility: public

Requested revision: cd0b15e23d9b68249a6dc544c01fff101e140456

Requested commit: cd0b15e23d9b68249a6dc544c01fff101e140456

Commit: cd0b15e23d9b68249a6dc544c01fff101e140456

Tree: 638324fc62b731e541d357d75e60b585e28db776

Author: Piotr Osiewicz

Committer: Piotr Osiewicz

## Message

```
fixup! terminal/search: Partially fix search in terminal. There are two issues with search in terminal as is: - terminal's pane is not registered as a "legit" pane, so we dispatch buffer search bar::Deploy on the most recent "legit" pane. By legit I mean that   workspace::active_pane will *never* return terminal pane as active. - We've had the implementation of as_searchable commented out. Duh!

```

## Parents

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

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