Sync OpenBSD patchset 554:

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:
Tiago Cunha
2009-11-19 22:37:04 +00:00
parent cbc7a23e33
commit 7a9bfabf7a
3 changed files with 210 additions and 190 deletions

6
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.521 2009-11-19 22:35:10 tcunha Exp $ */
/* $Id: tmux.h,v 1.522 2009-11-19 22:37:04 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -843,6 +843,10 @@ struct winlink {
int idx;
struct window *window;
size_t status_width;
struct grid_cell status_cell;
char *status_text;
RB_ENTRY(winlink) entry;
TAILQ_ENTRY(winlink) sentry;
};