Add an option to control the input buffer size, from Ken Lau.

This commit is contained in:
nicm
2024-11-11 08:41:05 +00:00
parent 596ea62dc3
commit c26d71d3e9
5 changed files with 28 additions and 2 deletions

View File

@ -1177,6 +1177,8 @@ options_push_changes(const char *name)
RB_FOREACH(w, windows, &windows)
layout_fix_panes(w, NULL);
}
if (strcmp(name, "input-buffer-size") == 0)
input_set_buffer_size(options_get_number(global_options, name));
RB_FOREACH(s, sessions, &sessions)
status_update_cache(s);