mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Ensure full titlebar line is erased to current background before re-drawing
This commit is contained in:
parent
917616d09b
commit
ebba5dbe08
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue