# pane: Ignore max tabs on terminal pane \(\#40740\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 36c006828e403bc4ba6a41a6670509e336a5ad08

Requested commit: 36c006828e403bc4ba6a41a6670509e336a5ad08

Commit: 36c006828e403bc4ba6a41a6670509e336a5ad08

Tree: 6bc110ef3ce4acc92d0e60040dd9ac4ab6cf44b1

Author: vipex

Committer: GitHub

## Message

```
pane: Ignore max tabs on terminal pane (#40740)

Closes #39901

I'm unsure as to which direction the team wants to go with this, but
this is the behavior of VSCode which is what this feature is based off
so i'm going with this.

Changes: 

1. Introduced a new argument to the `new` method on the Pane called
`ignore_max_tabs` that forces the `max_tabs` to None if it's true.
2. Added a new test `test_bypass_max_tabs_limit`.

Release Notes:

- Fixed: `max_tabs` Setting affecting the terminal pane.

---------

Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
```

## Parents

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

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