treemacs icon indicating copy to clipboard operation
treemacs copied to clipboard

[Tab Bar] Correct method for getting current tab

Open aaronjensen opened this issue 1 year ago • 0 comments
trafficstars

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.

aaronjensen avatar Oct 02 '24 00:10 aaronjensen