mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
...
This commit is contained in:
@@ -642,6 +642,7 @@ class Fat(Tall): # {{{
|
|||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
# Grid {{{
|
||||||
@lru_cache()
|
@lru_cache()
|
||||||
def calc_grid_size(n):
|
def calc_grid_size(n):
|
||||||
if n <= 5:
|
if n <= 5:
|
||||||
@@ -656,7 +657,7 @@ def calc_grid_size(n):
|
|||||||
return ncols, nrows, special_rows, special_col
|
return ncols, nrows, special_rows, special_col
|
||||||
|
|
||||||
|
|
||||||
class Grid(Layout): # {{{
|
class Grid(Layout):
|
||||||
|
|
||||||
name = 'grid'
|
name = 'grid'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user