summaryrefslogtreecommitdiffstats
path: root/tmux.1
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.1
parent2dc74f2e4d754b868286d1adc0e686d707be38fc (diff)
Add an option to disable the smcup/rmcup alternate screen behaviour inside
tmux. From clemens fischer.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 13 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 377215eb..e01445e0 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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