From d7b4aa0ff36f8230103f29cc233fed341f0d5fa3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 12 Jul 2009 17:07:58 +0000 Subject: Add a default-terminal option to set the starting value of $TERM in new windows. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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); -- cgit