When history-limit is changed, apply to existing panes, not just new

ones. GitHub issue 4705.
This commit is contained in:
nicm
2026-01-22 08:55:01 +00:00
parent ecbf8d76d0
commit 195a9cfd88
7 changed files with 45 additions and 8 deletions

4
tmux.1
View File

@@ -4583,9 +4583,7 @@ If set to 0, messages and indicators are displayed until a key is pressed.
.Ar time
is in milliseconds.
.It Ic history-limit Ar lines
Set the maximum number of lines held in window history.
This setting applies only to new windows - existing window histories are not
resized and retain the limit at the point they were created.
Set the maximum number of lines held in pane history.
.It Ic initial-repeat-time Ar time
Set the time in milliseconds for the initial repeat when a key is bound with the
.Fl r