Closed NicolaeBet closed 1 year ago
To be honest the whole system of setting titles has always been a bit of a mess, but it's impressive that I never noticed this part of it. I have some plans for the future that should eliminate this issue, with a new class replacing boxes. Will come back to update!
Sorry about the delay, this is fixed now!
Describe the bug Window set_title does not set the title, but adds the title to the window instead.
To Reproduce Use window set_title more than once and notice that the window title, has in fact, been added to instead of changed.
Expected behavior I expect the window's title value to only change not ass
System information
Possible cause Function for changing the window title might have a string manipulation error/mistake.
Possible solution Fix line 269 in window.py to be
corners[position] = corners[corner] + text
instead ofcorners[position] += text
Note that the func _get_char could be a culprit in base.py Perhaps the _get_char "corner" part does not receive the corner but the set title instead? Changing the line tocorners[position] = "╔" + title
does work as a temporary fix for top left corner borders.