aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-02-08 18:32:34 +0000
committerTiago Cunha <tcunha@gmx.com>2010-02-08 18:32:34 +0000
commit10abdd97cf23b7a389cb9b97f4d68a142e8e4bf0 (patch)
tree87b103204b998777e24379e1779370e1c49bdfdf /tmux.c
parentc3c65c32a5ebe50fdadcf280f2d69e8879088fb9 (diff)
downloadrtmux-10abdd97cf23b7a389cb9b97f4d68a142e8e4bf0.tar.gz
rtmux-10abdd97cf23b7a389cb9b97f4d68a142e8e4bf0.tar.bz2
rtmux-10abdd97cf23b7a389cb9b97f4d68a142e8e4bf0.zip
Sync OpenBSD patchset 642:
Add an option to disable the smcup/rmcup alternate screen behaviour inside tmux. From clemens fischer.
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 e857421f..c5045888 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $Id: tmux.c,v 1.202 2010-02-08 18:25:04 tcunha Exp $ */
+/* $Id: tmux.c,v 1.203 2010-02-08 18:32:34 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -398,6 +398,7 @@ main(int argc, char **argv)
options_init(&global_w_options, NULL);
wo = &global_w_options;
options_set_number(wo, "aggressive-resize", 0);
+ options_set_number(wo, "alternate-screen", 1);
options_set_number(wo, "automatic-rename", 1);
options_set_number(wo, "clock-mode-colour", 4);
options_set_number(wo, "clock-mode-style", 1);