summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.1
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/tmux.1
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/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.117
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index f5275948efa..3e0a770da7e 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.149 2010/02/07 20:33:27 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.150 2010/02/08 00:14:38 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 7 2010 $
+.Dd $Mdocdate: February 8 2010 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -1898,6 +1898,19 @@ command.
Duplicate input to any pane to all other panes in the same window, except
for panes that are not in output mode.
.Pp
+.It Xo Ic alternate-screen
+.Op Ic on | off
+.Xc
+This option configures whether programs running inside
+.Nm
+may use the terminal alternate screen feature, which allows the
+.Em smcup
+and
+.Em rmcup
+.Xr terminfo 5
+capabilities to be issued to preserve the existing window content on start and
+restore it on exit.
+.Pp
.It Xo Ic utf8
.Op Ic on | off
.Xc