Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tabs): use tab index for tab name #686

Merged
merged 1 commit into from
Sep 6, 2021
Merged

fix(tabs): use tab index for tab name #686

merged 1 commit into from
Sep 6, 2021

Conversation

prscoelho
Copy link
Contributor

@prscoelho prscoelho commented Sep 3, 2021

This PR fixes a small visual bug that causes tab names to have the same name if we close any tab that is not the last and create a new tab.

Previously, if we had tabs 2, 3, and created a new tab, we would end up with tabs 2, 3, 3. Now we get 2, 3, 4.

@imsnif
Copy link
Member

imsnif commented Sep 6, 2021

Good find!! Thank you :)

@imsnif imsnif merged commit bdef573 into zellij-org:main Sep 6, 2021
@prscoelho prscoelho deleted the tab-name branch September 6, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants