Replace refresh-from-pane in copy mode with a way to automatically

update as pane content changes. This is toggled by pressing r. GitHub
issue 5165 from Barrett Ruth.
This commit is contained in:
nicm
2026-06-10 14:29:08 +00:00
parent c6c8f77bc0
commit 8cb4aabb8b
5 changed files with 284 additions and 19 deletions

15
tmux.1
View File

@@ -2293,11 +2293,22 @@ Toggle rectangle selection mode.
.Xc
Cycles the current line between centre, top, and bottom.
.It Xo
.Ic refresh\-from\-pane
.Ic refresh\-on
.Xc
Turn on automatic refresh of the content from the pane, so that new output
appears while in copy mode.
Automatic refresh is off by default; it will scroll only while the cursor is at
the bottom and is paused while a selection is in progress.
.It Xo
.Ic refresh\-off
.Xc
Turn off automatic refresh of the content from the pane.
.It Xo
.Ic refresh\-toggle
(vi: r)
(emacs: r)
.Xc
Refresh the content from the pane.
Toggle automatic refresh of the content from the pane.
.It Xo
.Ic scroll\-bottom
.Xc