mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
This commit is contained in:
@@ -31,8 +31,8 @@ class Window:
|
||||
def effective_padding(self, edge):
|
||||
return 1
|
||||
|
||||
def effective_margin(self, edge, is_single_window=False):
|
||||
return 0 if is_single_window else 1
|
||||
def effective_margin(self, edge):
|
||||
return 1
|
||||
|
||||
def set_visible_in_layout(self, val):
|
||||
self.is_visible_in_layout = bool(val)
|
||||
|
||||
Reference in New Issue
Block a user