aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:07:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-07-12 17:07:58 +0000
commitd7b4aa0ff36f8230103f29cc233fed341f0d5fa3 (patch)
tree827ecbe7eb876376b7efa1a53a563acb9520a009 /tmux.c
parent79bc6041c96f5e1dc8b1fb7d71c91bf73a138e96 (diff)
downloadrtmux-d7b4aa0ff36f8230103f29cc233fed341f0d5fa3.tar.gz
rtmux-d7b4aa0ff36f8230103f29cc233fed341f0d5fa3.tar.bz2
rtmux-d7b4aa0ff36f8230103f29cc233fed341f0d5fa3.zip
Add a default-terminal option to set the starting value of $TERM in new
windows.
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 8ecb75d3..b24c8626 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.141 2009-07-08 18:12:57 nicm Exp $ */
+/* $Id: tmux.c,v 1.142 2009-07-12 17:07:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -279,6 +279,7 @@ main(int argc, char **argv)
options_set_number(&global_s_options, "bell-action", BELL_ANY);
options_set_number(&global_s_options, "buffer-limit", 9);
options_set_string(&global_s_options, "default-command", "%s", "");
+ options_set_string(&global_s_options, "default-terminal", "screen");
options_set_number(&global_s_options, "display-time", 750);
options_set_number(&global_s_options, "history-limit", 2000);
options_set_number(&global_s_options, "lock-after-time", 0);