Change status line drawing to create the window list in a separate screen and

then copy it into the status line screen. This allows UTF-8 in window names and
fixes some problems with #[] in window-status-format.
This commit is contained in:
Nicholas Marriott
2009-11-19 19:47:28 +00:00
parent 543fb99bc6
commit 33b337f618
3 changed files with 207 additions and 187 deletions

View File

@ -149,6 +149,8 @@ winlink_remove(struct winlinks *wwl, struct winlink *wl)
struct window *w = wl->window;
RB_REMOVE(winlinks, wwl, wl);
if (wl->status_text != NULL)
xfree(wl->status_text);
xfree(wl);
if (w->references == 0)