Add an option allowing users to override the width of individual Unicode

codepoints (overriding tmux's default list).
This commit is contained in:
nicm
2025-01-01 15:17:36 +00:00
parent eece41547e
commit e00853ee82
7 changed files with 371 additions and 233 deletions

View File

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