Open/Close Terminal Cell Button
Currently users have the ability to open the terminal if they were running interactive cells, e.g.:

To complete the experience it would be great if we could change the button to say "Close Terminal". Unfortunately VS Code doesn't re-render that section quite often so there is no way for use to do that atm.
I'll give this a shot
I'll give this a shot
Feel free, it would be great to better understand when VS Code re-renders these provider. I initially tried to tackle this myself and gave up as I believe it is currently not possible.
@christian-bromann have you tried this ?

would recall provideCellStatusBarItems and can use an if statement to show open/close right?
@christian-bromann have you tried this ?
would recall
provideCellStatusBarItemsand can use an if statement to show open/close right?
nvm... this doesnt work as the provider is not calling the command which won't tell if there was any event
I was able to get some partial progress on this problem! In particular, I was able to accomplish re-rendering using onDidChangeCellStatusBarItems. This allows for the following:
Unfortunately, there is no way (as far as I know) to determine if the bottom panel is open, so the best you can do is tell if the relevant terminal is "active." Still, this provides a solution to #124 (see #125), and could be of use for other future features.
@sourishkrout I think we can close this issue as we don't have the button anymore. The way the UX suggests running task within the CLI doesn't raise a need for this functionality.
Agreed.