mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +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:
@@ -101,7 +101,7 @@ class WindowGroup:
|
||||
if not self.windows:
|
||||
return 0
|
||||
w = self.windows[0]
|
||||
return w.effective_margin(which, is_single_window=is_single_window) + w.effective_border() * border_mult + w.effective_padding(which)
|
||||
return w.effective_margin(which) + w.effective_border() * border_mult + w.effective_padding(which)
|
||||
|
||||
def effective_padding(self, which: EdgeLiteral) -> int:
|
||||
if not self.windows:
|
||||
|
||||
Reference in New Issue
Block a user