mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-20 20:22:10 +00:00
parent
d173ab9f45
commit
2b3753d99c
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ class TabBar:
|
|||
return
|
||||
self.cell_width = cell_width
|
||||
s = self.screen
|
||||
viewport_width = tab_bar.width - 2 * self.margin_width
|
||||
viewport_width = max(4 * cell_width, tab_bar.width - 2 * self.margin_width)
|
||||
ncells = viewport_width // cell_width
|
||||
s.resize(1, ncells)
|
||||
s.reset_mode(DECAWM)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue