This commit is contained in:
Kovid Goyal
2020-10-08 17:39:44 +05:30
parent 6443e726a6
commit 5d3ac649ba
2 changed files with 5 additions and 1 deletions

View File

@@ -11,6 +11,10 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
via escape codes to detect its version, and the values of via escape codes to detect its version, and the values of
configuration options that enable or disable terminal features. configuration options that enable or disable terminal features.
- Fix a regression in 0.19.0 that caused borders not to be drawn when setting
:opt:`window_margin_width` and keeping :opt:`draw_minimal_borders` on
(:iss:`3017`)
0.19.1 [2020-10-06] 0.19.1 [2020-10-06]
------------------- -------------------

View File

@@ -69,7 +69,7 @@ class Borders:
self.os_window_id = os_window_id self.os_window_id = os_window_id
self.tab_id = tab_id self.tab_id = tab_id
self.draw_active_borders = opts.active_border_color is not None self.draw_active_borders = opts.active_border_color is not None
self.draw_minimal_borders = opts.draw_minimal_borders self.draw_minimal_borders = opts.draw_minimal_borders and max(opts.window_margin_width) < 1
def __call__( def __call__(
self, self,