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.
This commit is contained in:
Nicholas Marriott 2009-06-03 17:04:16 +00:00
parent 6521427a45
commit 655a1aea6c
2 changed files with 2 additions and 2 deletions

2
tmux.1
View File

@ -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.

2
tmux.c
View File

@ -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);