diff options
author | 2009-07-10 05:50:54 +0000 | |
---|---|---|
committer | 2009-07-10 05:50:54 +0000 | |
commit | 1c0557154dd9da99ca78eea5be2939045765917f (patch) | |
tree | 3fed96dbea024bd1b7e233ff658a2849de775e46 /usr.bin/tmux/tmux.c | |
parent | Document display-time option which seems to have been missed. (diff) | |
download | wireguard-openbsd-1c0557154dd9da99ca78eea5be2939045765917f.tar.xz wireguard-openbsd-1c0557154dd9da99ca78eea5be2939045765917f.zip |
Add a default-terminal option to set the starting value of $TERM in new
windows.
This is "screen" by default and must be either that or something closely
related. This does makes it easier to customise it if necessary.
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 8f8964c71e9..e4035fc45ae 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.13 2009/07/08 05:26:45 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.14 2009/07/10 05:50:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -270,6 +270,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); |