Sync OpenBSD patchset 331:

New option, set-titles-string, to allow the window title to be specified (as
for status-left/right) if set-titles is on. Also only update the title when the
status line is being redrawn.
This commit is contained in:
Tiago Cunha
2009-09-19 18:53:01 +00:00
parent a2e03ce3cb
commit 23d7ed3187
4 changed files with 38 additions and 18 deletions

11
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.167 2009-09-11 14:13:52 tcunha Exp $
.\" $Id: tmux.1,v 1.168 2009-09-19 18:53:01 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: September 10 2009 $
.Dd $Mdocdate: September 18 2009 $
.Dt TMUX 1
.Os
.Sh NAME
@ -1287,6 +1287,13 @@ This option is off by default.
Note that elinks
will only attempt to set the window title if the STY environment
variable is set.
.It Ic set-titles-string Ar string
String used to set the window title if
.Ic set-titles
is on.
Character sequences are replaced as for the
.Ic status-left
option.
.It Xo Ic status
.Op Ic on | off
.Xc