From 10abdd97cf23b7a389cb9b97f4d68a142e8e4bf0 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Mon, 8 Feb 2010 18:32:34 +0000 Subject: Sync OpenBSD patchset 642: Add an option to disable the smcup/rmcup alternate screen behaviour inside tmux. From clemens fischer. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') 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 @@ -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); -- cgit