summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-option.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-02-08 00:14:38 +0000
committernicm <nicm@openbsd.org>2010-02-08 00:14:38 +0000
commite59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5 (patch)
tree50e471eccabdaa42c737be7673cb5e5cefa5dc8f /usr.bin/tmux/cmd-set-option.c
parentsync (diff)
downloadwireguard-openbsd-e59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5.tar.xz
wireguard-openbsd-e59ce48b8f83d13dcc33cd3af1e204f75d7c9eb5.zip
Add an option to disable the smcup/rmcup alternate screen behaviour inside
tmux. From clemens fischer.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r--usr.bin/tmux/cmd-set-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c
index c960ed27e4c..42ee6ae583e 100644
--- a/usr.bin/tmux/cmd-set-option.c
+++ b/usr.bin/tmux/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-option.c,v 1.33 2010/02/04 18:20:16 nicm Exp $ */
+/* $OpenBSD: cmd-set-option.c,v 1.34 2010/02/08 00:14:38 nicm 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",