mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
Ensure full titlebar line is erased to current background before re-drawing
This commit is contained in:
@@ -134,7 +134,6 @@ class WindowTitleBarScreen:
|
||||
opts = get_options()
|
||||
s = self.screen
|
||||
s.cursor.x = 0
|
||||
s.erase_in_line(2, False)
|
||||
|
||||
is_active = data.is_active
|
||||
if is_active:
|
||||
@@ -181,6 +180,7 @@ class WindowTitleBarScreen:
|
||||
title_str = str(title)
|
||||
align = opts.window_title_bar_align
|
||||
|
||||
s.erase_in_line(2, False)
|
||||
if align == 'left':
|
||||
draw_attributed_string(title_str, s)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user