mirror of
https://github.com/tmux/tmux.git
synced 2026-02-18 21:39:04 +00:00
When history-limit is changed, apply to existing panes, not just new
ones. GitHub issue 4705.
This commit is contained in:
@@ -1252,6 +1252,10 @@ options_push_changes(const char *name)
|
||||
utf8_update_width_cache();
|
||||
if (strcmp(name, "input-buffer-size") == 0)
|
||||
input_set_buffer_size(options_get_number(global_options, name));
|
||||
if (strcmp(name, "history-limit") == 0) {
|
||||
RB_FOREACH(s, sessions, &sessions)
|
||||
session_update_history(s);
|
||||
}
|
||||
RB_FOREACH(s, sessions, &sessions)
|
||||
status_update_cache(s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user