more typing work

This commit is contained in:
Kovid Goyal
2020-03-09 18:17:24 +05:30
parent 3c2f3ecd8e
commit 7298de646a
7 changed files with 162 additions and 74 deletions

View File

@@ -218,7 +218,7 @@ class TabBar:
return
self.cell_width = cell_width
s = self.screen
viewport_width = int(tab_bar.width - 2 * self.margin_width)
viewport_width = tab_bar.width - 2 * self.margin_width
ncells = viewport_width // cell_width
s.resize(1, ncells)
s.reset_mode(DECAWM)