summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2022-03-17 11:35:37 +0000
committernicm <nicm>2022-03-17 11:35:37 +0000
commit10d689e7354f789f951016f7f4d57a0c2d14e124 (patch)
treeb1c366cc8c0df2551c2e4b66341dde7959e2c5b1 /tmux.1
parente6e737ac0bf9a5be729b5c71f3a582355432d041 (diff)
Add an option (scroll-on-clear) to control if tmux scrolls into history
on clear, from Robert Lange in GitHub issue 3121.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.16
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 6c9ff820..bc5c1a55 100644
--- a/tmux.1
+++ b/tmux.1
@@ -4476,6 +4476,12 @@ Set the text shown at the bottom of exited panes when
.Ic remain-on-exit
is enabled.
.Pp
+.It Xo Ic scroll-on-clear
+.Op Ic on | off
+.Xc
+When the entire screen is cleared and this option is on, scroll the contents of
+the screen into history before clearing it.
+.Pp
.It Xo Ic synchronize-panes
.Op Ic on | off
.Xc