Sync OpenBSD patchset 553:

Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled
using similar # sequences as status-left/right.

This diff also moves part of the way towards UTF-8 support in window names but
it isn't quite there yet.
This commit is contained in:
Tiago Cunha
2009-11-19 22:35:10 +00:00
parent 1feea926ed
commit f9451028c0
7 changed files with 138 additions and 49 deletions

5
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.520 2009-11-19 22:25:52 tcunha Exp $ */
/* $Id: tmux.h,v 1.521 2009-11-19 22:35:10 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1616,7 +1616,8 @@ void server_update_event(struct client *);
/* status.c */
int status_redraw(struct client *);
char *status_replace(struct client *, const char *, time_t, int);
char *status_replace(
struct client *, struct winlink *, const char *, time_t, int);
void printflike2 status_message_set(struct client *, const char *, ...);
void status_message_clear(struct client *);
int status_message_redraw(struct client *);