Open Snowcola opened 4 years ago
Yep, I personally see this from time to time myself
Came here to post the same bug. Here is an observation I have seen.
If I close VS Code down with a terminal window open (from tabulous), and re-open VS Code, the same terminal window will be breifly open and then close right away. On the status bar, it will show I have a tabulous terminal open (i dont, it was closed on VS Code startup). Here I can observe the now "off by 1" error.
If I close my terminal windows down, and then close VS Code. Upon reopening, I notice that there not not a tabulous tab open, and the off by one error does not exist.
Hopefully that helps!
Great plugin, but I'm able to consistently reproduce the same behavior from a clean start:
The two terminals appear in the status bar correctly. But if I click on "term1", "term2" opens up, and vice versa.
Content in workspace.json file:
"tabulous.defaultTerminals": [
{
"name": "term1",
},
{
"name": "term2"
}
]
Little more info - if I have 3 terminals, then the specific problem is:
Note that this only happens based on default terminals. If I then manually add new terminals, the buttons for them work correctly.
One more item - if I then manually add a new terminal, the buttons now work properly. So the problem seems to be limited to when I start VSCode and/or reload default terminals.
[VS Code version: 1.50.1] When I'm clicking on the terminal buttons in the status bar there seems to be an off by 1 error and it either opens the terminal to the right or if you click on the last terminal on the rights it wraps to the start and opens the first one.