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
[Feature Request]: No tabbar if only one tab? #1201
Comments
Personally I'm not in favour of such auto-magic. Could be an option though. |
Thanks for the reply, which is understandable. Mintty allows the scrollbar to be turned on and off. Perhaps there could be a similar possibility to turn the tabbar on and off. Just a thought. |
Out of curiosity, I did a quick hack of the source code to try this idea out. I arranged for a control character (Ctrl-B for "bar") to toggle visibility of the tabbar using win_open_tabbar or win_close_tabbar according to the result of win_tabbar_visible. That achieves what I wanted, though of course it might well not be something you want to incorporate in the main code or in the hackish way I did it. |
Yes, I checked the same. I will add user-definable functions, maybe one function |
Finally managed to commit this... |
Released 3.6.4. |
Although I have enabled tabs (which can be very useful), I normally have only one tab. It looks a little odd to have a whole tabbar for this.
Would it be feasible to hide the tabbar if there is only one tab? Only on adding a second tab (i.e. window) would the tabbar become visible. On closing this second tab, the tabbar should be hidden again.
Thanks for listening.
The text was updated successfully, but these errors were encountered: