Sync OpenBSD patchset 642:

Add an option to disable the smcup/rmcup alternate screen behaviour inside
tmux. From clemens fischer.
This commit is contained in:
Tiago Cunha
2010-02-08 18:32:34 +00:00
parent c3c65c32a5
commit 10abdd97cf
4 changed files with 26 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: cmd-set-option.c,v 1.94 2010-02-05 01:31:06 tcunha Exp $ */
/* $Id: cmd-set-option.c,v 1.95 2010-02-08 18:32:34 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -138,6 +138,7 @@ const struct set_option_entry set_session_option_table[] = {
const struct set_option_entry set_window_option_table[] = {
{ "aggressive-resize", SET_OPTION_FLAG, 0, 0, NULL },
{ "alternate-screen", SET_OPTION_FLAG, 0, 0, NULL },
{ "automatic-rename", SET_OPTION_FLAG, 0, 0, NULL },
{ "clock-mode-colour", SET_OPTION_COLOUR, 0, 0, NULL },
{ "clock-mode-style",