Skip to content

Commit db51eca

Browse files
committed
fix(tmux): increase history-limit to mitigate copy-mode crash
Raise history-limit from 100k to 500k lines to reduce the frequency of grid_trim_history runs, which are suspected to leave stale pointers that cause a SIGABRT in grid_free_line when entering copy mode (tmux/tmux#4888, tmux/tmux#4962). Not a full fix — the upstream bug in tmux 3.6a remains open — but delays the trigger condition.
1 parent 447588b commit db51eca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.tmux.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ unbind C-b
2727
# send prefix to nested tmux (e.g. over SSH) with C-q C-q
2828
bind C-q send-prefix
2929

30-
set-option -g history-limit 100000
30+
set-option -g history-limit 500000
3131

3232
# enable mouse
3333
set-option -g mouse on

0 commit comments

Comments
 (0)