diff options
author | nicm <nicm> | 2022-03-16 17:00:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:51 +0100 |
commit | fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc (patch) | |
tree | aba35e99e0898df782b9e181ab42c57125c3d313 /options.c | |
parent | ad7113e0dbf2e5f5b6b33fd34824c5cf16e9053c (diff) | |
download | rtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.tar.gz rtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.tar.bz2 rtmux-fe44b105e4a2d1d7baa12b37d0b84d8c6be9addc.zip |
Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1108,6 +1108,8 @@ options_push_changes(const char *name) struct window_pane *wp; int c; + log_debug("%s: %s", __func__, name); + if (strcmp(name, "automatic-rename") == 0) { RB_FOREACH(w, windows, &windows) { if (w->active == NULL) @@ -1130,6 +1132,10 @@ options_push_changes(const char *name) &wp->screen->default_mode); } } + if (strcmp(name, "fill-character") == 0) { + RB_FOREACH(w, windows, &windows) + window_set_fill_character(w); + } if (strcmp(name, "key-table") == 0) { TAILQ_FOREACH(loop, &clients, entry) server_client_set_key_table(loop, NULL); |