Ensure full titlebar line is erased to current background before re-drawing

This commit is contained in:
Kovid Goyal 2026-03-05 17:00:34 +05:30
parent 917616d09b
commit ebba5dbe08
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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: