aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 18:52:44 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-18 18:52:44 +0000
commit8873c79cbcaf799ca4b371faf24564664aedc850 (patch)
treea941bb5223a9c43e10c6aaf098b4154f3b7272e6 /tmux.c
parentf9dedfcccac39efbf4d6aee8a24259ca3470f9af (diff)
downloadrtmux-8873c79cbcaf799ca4b371faf24564664aedc850.tar.gz
rtmux-8873c79cbcaf799ca4b371faf24564664aedc850.tar.bz2
rtmux-8873c79cbcaf799ca4b371faf24564664aedc850.zip
Set window title to current session. New options set-titles to disable.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 0621a020..9cf028f3 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.57 2008-06-18 16:39:15 nicm Exp $ */
+/* $Id: tmux.c,v 1.58 2008-06-18 18:52:44 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -212,6 +212,7 @@ main(int argc, char **argv)
options_set_string(
&global_options, "status-right", "%%H:%%M %%d-%%b-%%y");
options_set_number(&global_options, "status-interval", 15);
+ options_set_number(&global_options, "set-titles", 1);
paste_buffer = NULL;