Replies: 2 comments
|
Not sure what you are asking. The purpose of the code is when there is
not enough space left to draw more tab titles which can happen either
because the draw function didnt respect max_title_length or there are
simply too many tabs, the code will draw an ellipsis to indicate there
are more tabs that are not shown.
|
0 replies
|
That is the answer to what I was asking. In my testing with the 0.25.2 release of the code, the ellipsis does not get displayed until I'll try and think of an alternative to propose. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Due to my tab style preferences I am working on a different algorithm for
max_title_lengththat distributes the modulo across some of the tabs. This ends up making unequal tab sizes, but uses 95+% of the window width for the tabs. My question is on the purpose of related code here:kitty/kitty/tab_bar.py
Lines 591 to 596 in a487a78
This branch doesn't normally execute for me, but the changes I described above do cause it to trigger occasionally. When it does execute it is munging the tab in question which makes that tab not render at all.
What is the intent of the code? I'd like to make it function appropriately if it makes sense.
All reactions