From f5f04a9344df329459b48904f20601e3b0013a7c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 21 Mar 2009 12:44:06 +0000 Subject: * New session flag "set-remain-on-exit" to set remain-on-exit flag for new windows created in that session (like "remain-by-default" used to do). Not perfectly happy about this, but until I can think of a good way to introduce it generically (maybe a set of options in the session) this will do. Fixes SF request 2527847. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index 4e362aa5..9bb33975 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.108 2009-03-07 10:29:06 nicm Exp $ */ +/* $Id: tmux.c,v 1.109 2009-03-21 12:44:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -247,6 +247,7 @@ main(int argc, char **argv) options_set_number(&global_options, "repeat-time", 500); options_set_number(&global_options, "set-titles", 1); options_set_number(&global_options, "lock-after-time", 0); + options_set_number(&global_options, "set-remain-on-exit", 0); options_set_number(&global_options, "status", 1); options_set_number(&global_options, "status-bg", 2); options_set_number(&global_options, "status-fg", 0); -- cgit