# Enable and disable nav buttons based on pane's navigation stack · gitcafe/zed

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

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

Visibility: public

Requested revision: a378ec49ec8e4bd0a8ed08f32a35d4f830f16730

Requested commit: a378ec49ec8e4bd0a8ed08f32a35d4f830f16730

Commit: a378ec49ec8e4bd0a8ed08f32a35d4f830f16730

Tree: ce50a63eb6c6187f10577e9cdea622771783eebe

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Enable and disable nav buttons based on pane's navigation stack

Also, make the `NavHistory` type private to the `workspace` crate.
Expose only the `ItemNavHistory` type, via a method on Pane called
`nav_history_for_item`.

```

## Parents

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

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