summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-02-08 00:14:38 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-02-08 00:14:38 +0000
commit11dedde511e2d4adb57027edcb9d823b8269c368 (patch)
tree142b2e0fb673d3a85f7f0db6b5375d0aa185345b /tmux.c
parent2dc74f2e4d754b868286d1adc0e686d707be38fc (diff)
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index a582b951..8671e323 100644
--- a/tmux.c
+++ b/tmux.c
@@ -395,6 +395,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);