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

[Tab Bar] Correct method for getting current tab #1122

Merged

Conversation

aaronjensen
Copy link
Contributor

If a tab's selected buffer is the Treemacs buffer when switching away from a tab and back to that tab, the Treemacs buffer will temporarily not be considered part in the current tab. My original technique for getting the current tab was either always wrong or based on the best we could do at the time with the APIs available. This method of getting the current tab seems to work consistently.

Copy link

stale bot commented Dec 1, 2024

This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).

@stale stale bot added the stale label Dec 1, 2024
@aaronjensen
Copy link
Contributor Author

This is still necessary to correct a mistake.

@stale stale bot removed the stale label Dec 1, 2024
@Alexander-Miller
Copy link
Owner

👍

@Alexander-Miller Alexander-Miller merged commit 4364a66 into Alexander-Miller:master Dec 2, 2024
6 checks passed
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