Do not exit at bottom if a selection is in progress, GitHub issue 5349

from xiaomublue at gmail dot com.
This commit is contained in:
nicm
2026-07-09 07:54:07 +00:00
parent 161dbaf1ce
commit 3a6c717bb8
2 changed files with 6 additions and 4 deletions

4
tmux.1
View File

@@ -2340,7 +2340,8 @@ but also exit copy mode if the cursor reaches the bottom.
.It Xo
.Ic scroll\-exit\-on
.Xc
Turn on exiting copy mode when scrolling to the end of the buffer.
Turn on exiting copy mode when scrolling to the end of the buffer, unless a
selection is present.
.It Xo
.Ic scroll\-exit\-off
.Xc
@@ -2617,6 +2618,7 @@ instead of
.Fl e
specifies that scrolling to the bottom of the history (to the visible screen)
should exit copy mode.
This will not happen if a selection is present.
While in copy mode, pressing a key other than those used for scrolling will
disable this behaviour.
This is intended to allow fast scrolling through a pane's history, for