diff options
author | 2009-06-03 17:04:16 +0000 | |
---|---|---|
committer | 2009-06-03 17:04:16 +0000 | |
commit | 29e92c73c8190cedce031d49e2e0945606d86476 (patch) | |
tree | bddcfdeef72c3dd8478fa487e2c404344a60b983 | |
parent | gak, I loose, backout unintended hitchiker on my last commit (diff) | |
download | wireguard-openbsd-29e92c73c8190cedce031d49e2e0945606d86476.tar.xz wireguard-openbsd-29e92c73c8190cedce031d49e2e0945606d86476.zip |
Do not set the window title by default (make set-titles option default to off),
wiping over the title is rude and annoying. Agreed by several.
-rw-r--r-- | usr.bin/tmux/tmux.1 | 4 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 4313f715fe7..1e12f25f634 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.10 2009/06/03 16:54:26 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.11 2009/06/03 17:04:16 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -1084,7 +1084,7 @@ window option for any windows first created in this session. .Xc Attempt to set the window title using the \ee]2;...\e007 xterm code and the terminal appears to be an xterm. -This option is enabled by default. +This option is off by default. Note that elinks will only attempt to set the window title if the STY environment variable is set. diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index de7b6dddf6d..ddd97ae9de0 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.5 2009/06/03 16:54:26 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.6 2009/06/03 17:04:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -287,7 +287,7 @@ main(int argc, char **argv) options_set_number(&global_options, "prefix", '\002'); options_set_number(&global_options, "repeat-time", 500); options_set_number(&global_options, "set-remain-on-exit", 0); - options_set_number(&global_options, "set-titles", 1); + options_set_number(&global_options, "set-titles", 0); options_set_number(&global_options, "status", 1); options_set_number(&global_options, "status-attr", GRID_ATTR_REVERSE); options_set_number(&global_options, "status-bg", 2); |